root@opn02:~ # cat /usr/local/etc/apache24/Includes/acme.conf # Let's encrypt renewalMDCertificateAgreement acceptedMDNotifyCmd /usr/local/sbin/configctl apache reloadMDContactEmail admin@example.com
/usr/local/etc/apache24/Includes/gateway_vhosts.conf root@opn02:~ # cat /usr/local/etc/apache24/Includes/gateway_vhosts.conf Listen 443<Proxy balancer://ff9fefd4-3a8c-489d-bfb4-3dafb1485380> BalancerMember https://raspi03.internal.example.com/admin</Proxy>MDomain pihole.external.example.com<VirtualHost *:443> ServerName pihole.external.example.com Options -FollowSymLinks Options -Indexes Options -ExecCGI LogLevel warn ProxyRequests Off SSLProxyEngine On SSLProxyCheckPeerName On SSLEngine on Protocols h2 http/1.1 acme-tls/1 # https://wiki.mozilla.org/Security/Server_Side_TLS # TLS modern configuration SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 -TLSv1.2 SSLHonorCipherOrder off SSLSessionTickets off SSLOptions +StrictRequire SSLUseStapling On <Location "/"> ProxyPreserveHost Off ProxyPass "balancer://ff9fefd4-3a8c-489d-bfb4-3dafb1485380/" ProxyPassReverse "balancer://ff9fefd4-3a8c-489d-bfb4-3dafb1485380/" </Location> Header always merge Strict-Transport-Security "max-age=63072000; includeSubdomains; preload" # Add security and privacy related headers Header set Content-Security-Policy "default-src 'self'; upgrade-insecure-requests;" Header always edit Set-Cookie (.*) "$1; HttpOnly; Secure" Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" Header set Referrer-Policy "strict-origin" Header set X-Frame-Options: "deny" SetEnv modHeadersAvailable true</VirtualHost>