+++ /dev/null
-<VirtualHost *:80>
- ServerName xoa.giorgioravera.it
- ServerAdmin giorgio@giorgioravera.it
- RewriteEngine on
- RewriteCond %{HTTPS} !=on
- RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
-</VirtualHost>
-
-<IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName xoa.giorgioravera.it
- ServerAdmin giorgio@giorgioravera.it
-
- ProxyPass / http://xoa.giorgioravera.it:8000/
- ProxyPassReverse / http://xoa.giorgioravera.it:8000/
-
- #SSLProxyEngine on
- #ProxyPass / https://xoa.giorgioravera.it/
- #ProxyPassReverse / https://xoa.giorgioravera.it/
-
- RewriteEngine On
- RewriteCond %{HTTP:upgrade} websocket [NC]
- RewriteRule /(.*) ws://xoa.giorgioravera.it:8000/$1 [L,P]
-
- # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
- # error, crit, alert, emerg.
- # It is also possible to configure the loglevel for particular
- # modules, e.g.
- #LogLevel info ssl:warn
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- # For most configuration files from conf-available/, which are
- # enabled or disabled at a global level, it is possible to
- # include a line for only one particular virtual host. For example the
- # following line enables the CGI configuration for this host only
- # after it has been globally disabled with "a2disconf".
- #Include conf-available/serve-cgi-bin.conf
- </VirtualHost>
-</IfModule>