]> git.giorgioravera.it Git - apache.git/commitdiff
Added fritz
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 24 Jan 2023 16:25:02 +0000 (17:25 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 24 Jan 2023 16:25:02 +0000 (17:25 +0100)
sites-available/fritz.giorgioravera.it.conf [new file with mode: 0644]

diff --git a/sites-available/fritz.giorgioravera.it.conf b/sites-available/fritz.giorgioravera.it.conf
new file mode 100644 (file)
index 0000000..9312cc6
--- /dev/null
@@ -0,0 +1,35 @@
+<VirtualHost *:80>
+       ServerName fritz.giorgioravera.it
+       ServerAdmin giorgio@giorgioravera.it
+       Redirect permanent / https://fritz.giorgioravera.it
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+       <VirtualHost *:443>
+               ServerName fritz.giorgioravera.it
+               ServerAdmin giorgio@giorgioravera.it
+
+               ProxyPass / http://fritz.giorgioravera.it/
+               ProxyPassReverse / http://fritz.giorgioravera.it/
+
+               #SSLProxyEngine on
+               #ProxyPass / https://fritz.giorgioravera.it/
+               #ProxyPassReverse / https://fritz.giorgioravera.it/
+
+               # 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>