Standalone server (tomcat)
Last updated
[molgenis]
name=MOLGENIS releases repository
baseurl=https://registry.molgenis.org/repository/yum-releases/
enabled=1
protect=0
gpgcheck=0
metadata_expire=30s
autorefresh=1
type=rpm-md[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md[pgdg11]
name=PostgreSQL 11.1 $releasever - $basearch
baseurl=https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=0CREATE DATABASE molgenis;
CREATE USER molgenis WITH PASSWORD 'molgenis';
GRANT ALL PRIVILEGES ON SCHEMA molgenis TO molgenis;# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 ident
#host replication postgres ::1/128 identmax_locks_per_transaction = 1024cluster.name: molgenis
node.name: node-1
indices.query.bool.max_clause_count: 131072elasticsearch - nofile 65536vm.swappiness=1<VirtualHost molgenis.your-domain.ext:80>
ServerAdmin admin@molgenis.your-domain.ext
ServerName molgenis.your-domain.ext
ServerAlias molgenis.your-domain.ext
RewriteEngine on
RewriteCond %{SERVER_NAME} =molgenis.your-domain.ext
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [NE,R=permanent]
</VirtualHost>
<VirtualHost molgenis.your-domain.ext:443>
ServerAdmin admin@your-domain.ext
ServerName molgenis.your-domain.ext
ServerAlias molgenis.your-domain.ext
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/**#your cert#**.crt
SSLCertificateKeyFile /etc/pki/tls/private/**#your key#**.key
SSLCertificateChainFile /etc/pki/tls/certs/**#your server-chain#**.crt
</VirtualHost>