17 lines
652 B
Plaintext
17 lines
652 B
Plaintext
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerAdmin info@openworlds.info
|
|
ServerName openworlds.info
|
|
Header always set Strict-Transport-Security "max-age=63072000"
|
|
ServerSignature Off
|
|
ProxyPass / http://127.0.0.1:4004/
|
|
ProxyPassReverse / http://127.0.0.1:4004/
|
|
RemoteIPHeader X-Forwarded-For
|
|
RemoteIPTrustedProxy 127.0.0.1
|
|
# ProxyPass / unix:/run/uwsgi/app/searx/socket|uwsgi://searx/
|
|
SSLCertificateFile /etc/letsencrypt/live/openworlds.info/fullchain.pem
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/openworlds.info/privkey.pem
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
</VirtualHost>
|
|
</IfModule>
|