diff --git a/cable.conf b/cable.conf index 9e185d1..e1c0a06 100644 --- a/cable.conf +++ b/cable.conf @@ -15,7 +15,10 @@ SSLCertificateFile /home/cable/certificati/whisper.crt SSLCertificateKeyFile /home/cable/certificati/whisper.key Include /etc/letsencrypt/options-ssl-apache.conf - #SSLCertificateChainFile /home/cable/certificati/whisper.crt + #SSLCACertificateFile /home/cable/certificati/rootCA.crt + + # Doesn't make sense for self-signed certificates: + SSLUseStapling Off # Per proxare websocket (ws://) serve questa roba: # https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html @@ -38,9 +41,13 @@ ProxyPassReverse / http://127.0.0.1:4242/ - CustomLog "/var/log/httpd/cable.access.log" combined - ErrorLog "/var/log/httpd/cable.error.log" + CustomLog "/var/log/httpd/cable/cable-service.cable.im.access.log" combined + ErrorLog "/var/log/httpd/cable/cable-service.cable.im.error.log" LogLevel warn + + # Production: + #CustomLog "/dev/null" + #ErrorLog "/dev/null" @@ -63,6 +70,14 @@ ProxyPreserveHost On ProxyPass / http://127.0.0.1:4242/ ProxyPassReverse / http://127.0.0.1:4242/ + + CustomLog "/var/log/httpd/cable/cable-service-ca.cable.im.access.log" combined + ErrorLog "/var/log/httpd/cable/cable-service-ca.cable.im.error.log" + LogLevel warn + + # Production: + #CustomLog "/dev/null" + #ErrorLog "/dev/null" @@ -99,6 +114,14 @@ Order allow,deny Allow from all + + CustomLog "/var/log/httpd/cable/giphy-proxy.cable.im.access.log" combined + ErrorLog "/var/log/httpd/cable/giphy-proxy.cable.im.error.log" + LogLevel warn + + # Production: + #CustomLog "/dev/null" + #ErrorLog "/dev/null" @@ -127,6 +150,10 @@ Order deny,allow Deny from all + + CustomLog "/var/log/httpd/cable/db.cable.im.access.log" combined + ErrorLog "/var/log/httpd/cable/db.cable.im.error.log" + LogLevel warn @@ -145,5 +172,13 @@ ProxyPreserveHost On ProxyPass / http://127.0.0.1:9000/ ProxyPassReverse / http://127.0.0.1:9000/ + + CustomLog "/var/log/httpd/cable/s3.cable.im.access.log" combined + ErrorLog "/var/log/httpd/cable/s3.cable.im.error.log" + LogLevel warn + + # Production: + #CustomLog "/dev/null" + #ErrorLog "/dev/null"