diff --git a/tools/site.conf b/tools/site.conf index 1ad2c4a..7872fe3 100644 --- a/tools/site.conf +++ b/tools/site.conf @@ -32,14 +32,23 @@ DocumentRoot /data/nycki.net/site - ErrorDocument 404 404.html + ErrorDocument 404 /404.html + RewriteEngine on + #LogLevel alert rewrite:trace3 + + RewriteCond "%{DOCUMENT_ROOT}/%{REQUEST_URI}" -f + RewriteRule "(.+)" "/$1" [L] Options FollowSymLinks MultiViews Require all granted - Alias /p /home/nycki/public_html - Options FollowSymLinks Require all granted @@ -52,8 +61,8 @@ ProxyPass http://localhost:8400/ - SSLCertificateFile /etc/letsencrypt/live/klay.gay/fullchain.pem -SSLCertificateKeyFile /etc/letsencrypt/live/klay.gay/privkey.pem + SSLCertificateFile /etc/letsencrypt/live/klay.gay/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/klay.gay/privkey.pem @@ -66,6 +75,6 @@ SSLCertificateKeyFile /etc/letsencrypt/live/klay.gay/privkey.pem ProxyPass http://localhost:8500/ nocanon - SSLCertificateFile /etc/letsencrypt/live/klay.gay/fullchain.pem -SSLCertificateKeyFile /etc/letsencrypt/live/klay.gay/privkey.pem + SSLCertificateFile /etc/letsencrypt/live/klay.gay/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/klay.gay/privkey.pem