${APACHE_LOG_DIR} requires quoting.
--- a/deb/apache-register-forward-proxy.bash Mon Jul 31 00:09:59 2023 +0300
+++ b/deb/apache-register-forward-proxy.bash Mon Jul 31 00:20:03 2023 +0300
@@ -1,5 +1,9 @@
#!/bin/bash
+# curl -v google.com --proxy blog.defun.work:8888 --proxy-user proxy:PASS
+
+# sudo a2enmod proxy proxy_http proxy_connect
+
set -x
# To meet uploading requirements.
@@ -42,7 +46,7 @@
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
-EOF
+'EOF'
a2ensite $d
service apache2 reload