blob: 361218d15a30dbe5e2c5a570f408e6f892e5a9f3 (
plain)
- <VirtualHost *:443>
- ServerName issues.example.com
- ServerAdmin webmaster@example.com
- DocumentRoot /var/www/nowhere
- Include conf-available/local-ssl.conf
- <Location />
- SetHandler uwsgi-handler
- uWSGISocket /run/uwsgi/app/local-rt4/socket
- </Location>
- ErrorLog ${APACHE_LOG_DIR}/issues.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/issues.example.com-access.log combined
- </VirtualHost>
- <VirtualHost *:80>
- ServerName issues.example.com
- ServerAlias *.issues.example.com
- RedirectMatch permanent .* https://issues.example.com/
- CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
- </VirtualHost>
|