mirror of
https://github.com/iv-org/documentation.git
synced 2025-01-05 12:30:57 -05:00
add nocanon, AllowEncodedSlashes to default config, replace tabs with spaces (#274)
Co-authored-by: Felix Pankratz <mail@felixpankratz.de>
This commit is contained in:
parent
fdfd0d390c
commit
0bf673c416
@ -10,16 +10,18 @@
|
|||||||
|
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests off
|
ProxyRequests off
|
||||||
ProxyPass / http://127.0.0.1:3000/
|
ProxyPass / http://127.0.0.1:3000/ nocanon
|
||||||
ProxyPassReverse / http://127.0.0.1:3000/
|
ProxyPassReverse / http://127.0.0.1:3000/
|
||||||
|
|
||||||
|
AllowEncodedSlashes on
|
||||||
|
|
||||||
# ErrorLog /var/log/apache2/invidious.domain.tld/error.log
|
# ErrorLog /var/log/apache2/invidious.domain.tld/error.log
|
||||||
CustomLog /dev/null combined
|
CustomLog /dev/null combined
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
SSLCertificateFile /etc/letsencrypt/live/invidious.domain.tld/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/invidious.domain.tld/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/invidious.domain.tld/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/invidious.domain.tld/privkey.pem
|
||||||
SSLCertificateChainFile /etc/letsencrypt/live/invidious.domain.tld/chain.pem
|
SSLCertificateChainFile /etc/letsencrypt/live/invidious.domain.tld/chain.pem
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
Loading…
Reference in New Issue
Block a user