Update chuckie branch for new services/configs.
This commit is contained in:
parent
84ac6c69e2
commit
f52e089094
42 changed files with 3799 additions and 15 deletions
54
etc/apache/sites.d/_default_.conf
Normal file
54
etc/apache/sites.d/_default_.conf
Normal file
|
@ -0,0 +1,54 @@
|
|||
<VirtualHost 192.168.67.6:80 [2001:470:1f1d:58::67:6]:80 _default_:80>
|
||||
ServerName afterdark.org.uk
|
||||
ServerAlias www.afterdark.org.uk
|
||||
|
||||
SetEnvIf REQUEST_URI ^/robots\.txt$ no_log
|
||||
SetEnvIf REQUEST_URI ^/favicon\.ico$ no_log
|
||||
SetEnvIf REQUEST_URI ^/\.well-known/.*$ no_log
|
||||
|
||||
<IfModule ssl_module>
|
||||
RedirectMatch permanent ^/(?!(\.well-known|httpd-errordocs)/)(.*) https://afterdark.org.uk/
|
||||
</IfModule>
|
||||
<IfModule !ssl_module>
|
||||
ScriptAlias /cgi-bin/ /data/www/cgi-bin/
|
||||
|
||||
DocumentRoot /data/www/html/
|
||||
|
||||
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
|
||||
|
||||
<Proxy *>
|
||||
Require all granted
|
||||
</Proxy>
|
||||
# Dot NOT add backslashes to the end of the urls.
|
||||
ProxyPass /git http://nas0.afterdark.lan:3000
|
||||
ProxyPassReverse /git http://nas0.afterdark.lan:3000
|
||||
</IfModule>
|
||||
</VirtualHost>
|
||||
|
||||
<IfModule ssl_module>
|
||||
<VirtualHost 192.168.67.6:443 [2001:470:1f1d:58::67:6]:443>
|
||||
ServerName afterdark.org.uk
|
||||
ServerAlias www.afterdark.org.uk
|
||||
|
||||
SSLEngine On
|
||||
SSLCertificateFile /etc/certificates/afterdark.org.uk-cert.pem
|
||||
SSLCertificateKeyFile /etc/certificates/afterdark.org.uk-key.pem
|
||||
SSLCertificateChainFile /etc/certificates/afterdark.org.uk-chain.pem
|
||||
|
||||
SetEnvIf REQUEST_URI ^/robots\.txt$ no_log
|
||||
SetEnvIf REQUEST_URI ^/favicon\.ico$ no_log
|
||||
|
||||
ScriptAlias /cgi-bin/ /data/www/cgi-bin/
|
||||
|
||||
DocumentRoot /data/www/html/
|
||||
|
||||
CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log
|
||||
|
||||
<Proxy *>
|
||||
Require all granted
|
||||
</Proxy>
|
||||
# Dot NOT add backslashes to the end of the urls.
|
||||
ProxyPass /git http://nas0.afterdark.lan:3000
|
||||
ProxyPassReverse /git http://nas0.afterdark.lan:3000
|
||||
</VirtualHost>
|
||||
</IfModule>
|
Loading…
Add table
Add a link
Reference in a new issue