summaryrefslogtreecommitdiff
path: root/moin/apache2/sites-available/wiki.secure-example.com
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-11 19:23:41 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-11 19:29:06 +0200
commit824a5cf9831d0ee8a8f6123c64fab3a9deadea86 (patch)
tree341a7a170107664ca1cf31bfde09c3fb60fee82c /moin/apache2/sites-available/wiki.secure-example.com
parent5cfbab9215b5ad519150ff2bd5908971cbb7f7d4 (diff)
fix add extension .conf to apache2 site snippets
Diffstat (limited to 'moin/apache2/sites-available/wiki.secure-example.com')
-rw-r--r--moin/apache2/sites-available/wiki.secure-example.com43
1 files changed, 0 insertions, 43 deletions
diff --git a/moin/apache2/sites-available/wiki.secure-example.com b/moin/apache2/sites-available/wiki.secure-example.com
deleted file mode 100644
index 5ccca1b..0000000
--- a/moin/apache2/sites-available/wiki.secure-example.com
+++ /dev/null
@@ -1,43 +0,0 @@
-<VirtualHost *:443>
- ServerName wiki.example.com
- ServerAdmin webmaster@example.com
- DocumentRoot /usr/share/moin/htdocs
-
- Include conf.d/local-ssl.conf
-
- <Location />
- SetHandler uwsgi-handler
- uWSGISocket /run/uwsgi/app/local-moin/socket
- </Location>
-
- ErrorLog ${APACHE_LOG_DIR}/wiki.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/wiki.example.com-access.log combined
-</VirtualHost>
-<VirtualHost *:443>
- ServerName www.wiki.example.com:443
- ServerName wiki:443
- ServerName *.wiki:443
-
- Include conf.d/local-ssl.conf
- Include conf.d/local-log-origin.conf
-
- RewriteEngine On
- RewriteRule / https://wiki.example.com/ [R]
-# RewriteRule /(.*)? https://wiki.example.com/$1 [R]
-
- CustomLog ${APACHE_LOG_DIR}/redirect.log origin
-</VirtualHost>
-<VirtualHost *:80>
- ServerName wiki.example.com
- ServerAlias *.wiki.example.com
- ServerAlias wiki
- ServerAlias *.wiki
-
- Include conf.d/local-log-origin.conf
-
- RewriteEngine On
- RewriteRule / https://wiki.example.com/ [R]
-# RewriteRule /(.*)? https://wiki.example.com/$1 [R]
-
- CustomLog ${APACHE_LOG_DIR}/redirect.log origin
-</VirtualHost>