summaryrefslogtreecommitdiff
path: root/apache2/sites-available/php.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 /apache2/sites-available/php.example.com
parent5cfbab9215b5ad519150ff2bd5908971cbb7f7d4 (diff)
fix add extension .conf to apache2 site snippets
Diffstat (limited to 'apache2/sites-available/php.example.com')
-rw-r--r--apache2/sites-available/php.example.com26
1 files changed, 0 insertions, 26 deletions
diff --git a/apache2/sites-available/php.example.com b/apache2/sites-available/php.example.com
deleted file mode 100644
index 259d5f1..0000000
--- a/apache2/sites-available/php.example.com
+++ /dev/null
@@ -1,26 +0,0 @@
-<VirtualHost *:80>
- ServerName php.example.com
- ServerAdmin webmaster@example.com
- DocumentRoot /var/www-php-app/foo
-
- <Location />
- DirectoryIndex index.php
- SetHandler uwsgi-handler
- uWSGISocket /run/uwsgi/app/local-php-app/socket
- uWSGImodifier1 9
- </Location>
-
- ErrorLog ${APACHE_LOG_DIR}/www.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/www.example.com-access.log combined
-</VirtualHost>
-<VirtualHost *:80>
- ServerName www.php.example.com
- ServerAlias *.php.example.com
-
- Include conf.d/local-log-origin.conf
-
- RedirectMatch permanent .* http://php.example.com/
-
- ErrorLog ${APACHE_LOG_DIR}/django.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/django.example.com-access.log origin
-</VirtualHost>