Aggiornato cable.conf
This commit is contained in:
parent
1b36755605
commit
6d2901041e
1 changed files with 38 additions and 3 deletions
41
cable.conf
41
cable.conf
|
@ -15,7 +15,10 @@
|
||||||
SSLCertificateFile /home/cable/certificati/whisper.crt
|
SSLCertificateFile /home/cable/certificati/whisper.crt
|
||||||
SSLCertificateKeyFile /home/cable/certificati/whisper.key
|
SSLCertificateKeyFile /home/cable/certificati/whisper.key
|
||||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
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:
|
# Per proxare websocket (ws://) serve questa roba:
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html
|
# https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html
|
||||||
|
@ -38,9 +41,13 @@
|
||||||
|
|
||||||
ProxyPassReverse / http://127.0.0.1:4242/
|
ProxyPassReverse / http://127.0.0.1:4242/
|
||||||
|
|
||||||
CustomLog "/var/log/httpd/cable.access.log" combined
|
CustomLog "/var/log/httpd/cable/cable-service.cable.im.access.log" combined
|
||||||
ErrorLog "/var/log/httpd/cable.error.log"
|
ErrorLog "/var/log/httpd/cable/cable-service.cable.im.error.log"
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
|
|
||||||
|
# Production:
|
||||||
|
#CustomLog "/dev/null"
|
||||||
|
#ErrorLog "/dev/null"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,6 +70,14 @@
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyPass / http://127.0.0.1:4242/
|
ProxyPass / http://127.0.0.1:4242/
|
||||||
ProxyPassReverse / 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"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,6 +114,14 @@
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Allow from all
|
Allow from all
|
||||||
</Proxy>
|
</Proxy>
|
||||||
|
|
||||||
|
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"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
@ -127,6 +150,10 @@
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</Files>
|
</Files>
|
||||||
|
|
||||||
|
CustomLog "/var/log/httpd/cable/db.cable.im.access.log" combined
|
||||||
|
ErrorLog "/var/log/httpd/cable/db.cable.im.error.log"
|
||||||
|
LogLevel warn
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
@ -145,5 +172,13 @@
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyPass / http://127.0.0.1:9000/
|
ProxyPass / http://127.0.0.1:9000/
|
||||||
ProxyPassReverse / 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"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue