blob: 1ba61f0d5e7256c145819a34e8a75b7955932060 (
plain)
- <VirtualHost *:443>
- ServerName issues.example.com
- ServerAdmin webmaster@example.com
- DocumentRoot /var/www/nowhere
- Include conf.d/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
- Include conf.d/local-log-origin.conf
- RedirectMatch permanent .* https://issues.example.com/
- ErrorLog ${APACHE_LOG_DIR}/issues.example.com-error.log
- CustomLog ${APACHE_LOG_DIR}/issues.example.com-access.log origin
- </VirtualHost>
|