${APACHE_LOG_DIR} requires quoting.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 31 Jul 2023 00:20:03 +0300
changeset 27 9b0cc94cd960
parent 26 74c90451cdc2
child 28 47f47ba80e8d
${APACHE_LOG_DIR} requires quoting.
deb/apache-register-forward-proxy.bash
--- 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