Updated SSL section of forward proxy.
--- a/deb/apache-register-forward-proxy.bash Sun May 07 13:24:09 2023 +0300
+++ b/deb/apache-register-forward-proxy.bash Sun May 07 13:26:22 2023 +0300
@@ -27,12 +27,15 @@
<IfModule mod_ssl.c>
<VirtualHost $d.defun.work:443>
- DocumentRoot /srv/www/$d
- ServerName $d.defun.work
+ ProxyRequests On
+ ProxyVia On
+
+ Require ip 46.118
- <Directory "/srv/www/$d/">
- Require all granted
- </Directory>
+ LogLevel info ssl:warn
+
+ ErrorLog ${APACHE_LOG_DIR}/error_forward_proxy.log
+ CustomLog ${APACHE_LOG_DIR}/access_forward_proxy.log
SSLCertificateFile /etc/letsencrypt/live/defun.work/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/defun.work/privkey.pem