31 lines
828 B
Plaintext
31 lines
828 B
Plaintext
<VirtualHost *:443>
|
|
ServerName recording.example.tld
|
|
|
|
SSLEngine on
|
|
SSLCertificateFile /etc/letsencrypt/live/example.tld/fullchain.pem
|
|
|
|
SSLCertificateKeyFile /etc/letsencrypt/live/example.tld/privkey.pem
|
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
|
|
|
Protocols h2 http/1.1
|
|
|
|
# Logging
|
|
ErrorLog ${APACHE_LOG_DIR}/recording_error.log
|
|
CustomLog ${APACHE_LOG_DIR}/recording_access.log combined
|
|
|
|
# Proxy-Einstellungen
|
|
ProxyPreserveHost On
|
|
ProxyRequests Off
|
|
|
|
<Proxy *>
|
|
Require all granted
|
|
</Proxy>
|
|
|
|
ProxyPass "/" "http://127.0.0.1:1234/"
|
|
ProxyPassReverse "/" "http://127.0.0.1:1234/"
|
|
|
|
Header always set X-Content-Type-Options "nosniff"
|
|
Header always set X-Frame-Options "SAMEORIGIN"
|
|
Header always set X-XSS-Protection "1; mode=block"
|
|
</VirtualHost>
|