Merge pull request '🔧 Setup Apache proxy pass for sites with invalid URIs' (!74) from apache-slash-decoding into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/74 Reviewed-by: dkdent <dkdent@netz39.de>
This commit is contained in:
commit
bd9910a9fb
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@
|
||||||
SSLCertificateKeyFile /usr/local/etc/dehydrated/certs/{{ site_name }}/privkey.pem
|
SSLCertificateKeyFile /usr/local/etc/dehydrated/certs/{{ site_name }}/privkey.pem
|
||||||
SSLCertificateChainFile /usr/local/etc/dehydrated/certs/{{ site_name }}/chain.pem
|
SSLCertificateChainFile /usr/local/etc/dehydrated/certs/{{ site_name }}/chain.pem
|
||||||
|
|
||||||
ProxyPass / http://{{ backend_host | default("localhost") }}:{{proxy_port}}/
|
AllowEncodedSlashes NoDecode
|
||||||
|
ProxyPass / http://{{ backend_host | default("localhost") }}:{{proxy_port}}/ nocanon
|
||||||
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||||
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
|
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue