mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
email: apache: X-Robots-Tag header, full URL match
This commit is contained in:
parent
c31a896e81
commit
355cc84a1b
@ -1,8 +1,9 @@
|
|||||||
<Location ~ "/rspamd$">
|
<LocationMatch "^/rspamd$">
|
||||||
Redirect "/rspamd/"
|
Redirect "/rspamd/"
|
||||||
</Location>
|
Include includes/freedombox-robots.conf
|
||||||
|
</LocationMatch>
|
||||||
|
|
||||||
<Location ~ "/rspamd/">
|
<Location "/rspamd/">
|
||||||
ProxyPass http://127.0.0.1:11334/
|
ProxyPass http://127.0.0.1:11334/
|
||||||
ProxyPassReverse http://127.0.0.1:11334/
|
ProxyPassReverse http://127.0.0.1:11334/
|
||||||
# Modify proxy headers
|
# Modify proxy headers
|
||||||
@ -15,6 +16,8 @@
|
|||||||
RequestHeader unset X-Forwarded-Server
|
RequestHeader unset X-Forwarded-Server
|
||||||
RequestHeader unset X-Real-IP
|
RequestHeader unset X-Real-IP
|
||||||
RequestHeader set X-Forwarded-For "127.0.0.1"
|
RequestHeader set X-Forwarded-For "127.0.0.1"
|
||||||
|
# Modify response headers
|
||||||
|
Header unset Set-Cookie
|
||||||
# Require SSO
|
# Require SSO
|
||||||
Include includes/freedombox-single-sign-on.conf
|
Include includes/freedombox-single-sign-on.conf
|
||||||
<IfModule mod_auth_pubtkt.c>
|
<IfModule mod_auth_pubtkt.c>
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
Header merge X-Robots-Tag "noindex, nofollow, noarchive, notranslate"
|
||||||
Loading…
x
Reference in New Issue
Block a user