forked from GiGainfosystems/geoplasma-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
001.api.geoplasma.dev.ssl.conf
32 lines (24 loc) · 1.75 KB
/
001.api.geoplasma.dev.ssl.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/html/backend/public
ServerName api.geoplasma-ce.eu
ServerAdmin webmaster@geoplasma.eu
ErrorLog /var/log/apache2/dummy.dev-error_log
CustomLog /var/log/apache2/dummy.dev-access_log common
SSLCertificateFile /etc/letsencrypt/live/api.geoplasma-ce.eu/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/api.geoplasma-ce.eu/privkey.pem
# Baseline setting to Include for SSL sites
SSLEngine on
# Intermediate configuration, tweak to your needs
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
SSLHonorCipherOrder on
SSLCompression off
SSLOptions +StrictRequire
# Add vhost name to log entries:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
SSLCertificateChainFile /etc/letsencrypt/live/api.geoplasma-ce.eu/chain.pem
ProxyPass /geoserver ajp://localhost:8009/geoserver
</VirtualHost>
</IfModule>