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
|
||||
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"
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
|
@ -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"
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
|
@ -99,6 +114,14 @@
|
|||
Order allow,deny
|
||||
Allow from all
|
||||
</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>
|
||||
|
||||
|
||||
|
@ -127,6 +150,10 @@
|
|||
Order deny,allow
|
||||
Deny from all
|
||||
</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>
|
||||
|
||||
|
||||
|
@ -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"
|
||||
</VirtualHost>
|
||||
|
||||
|
|
Loading…
Reference in a new issue