forked from infra/ansible
httpd / websites: do not enable anubis in internal proxies
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
ce1307f427
commit
3565e5634c
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@
|
|||
{% endif %}
|
||||
</VirtualHost>
|
||||
|
||||
{% if anubis %}
|
||||
{% if anubis and not inventory_hostname in groups['proxies_internal'] %}
|
||||
<VirtualHost *:8345>
|
||||
ServerName {{ site_name }}
|
||||
{% if server_aliases %}
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
{% if sslonly %}
|
||||
Header always add Strict-Transport-Security "max-age=31536000; {% if stssubdomains %}includeSubDomains; {% endif %}preload"
|
||||
{% endif %}
|
||||
{% if anubis %}
|
||||
{% if anubis and not inventory_hostname in groups['proxies_internal'] %}
|
||||
# proxy all requests to anubis after ssl termination
|
||||
|
||||
RequestHeader set "X-Real-Ip" expr=%{REMOTE_ADDR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue