Skip to content
Snippets Groups Projects
Commit 149ca40e authored by jurgenhaas's avatar jurgenhaas
Browse files

Mitigate HTTPOXY vulnerability, see https://httpoxy.org - and provide quick...

Mitigate HTTPOXY vulnerability, see https://httpoxy.org - and provide quick script to adjust Apache config
parent 57409215
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ apache_modules:
- actions
- alias
- expires
- headers
- proxy
- proxy_fcgi
- rewrite
......
......@@ -38,6 +38,7 @@
mode='644'
notify:
- "Apache | Restart Apache"
tags: 'Config'
- name: "Apache | Create Global Redirect Configuration"
template:
......@@ -48,6 +49,7 @@
mode='644'
notify:
- "Apache | Restart Apache"
tags: 'Config'
- name: "Apache | Create Global Deny Configuration"
template:
......@@ -58,6 +60,7 @@
mode='644'
notify:
- "Apache | Restart Apache"
tags: 'Config'
- name: "Apache | Install SSL certificates"
copy:
......
......@@ -12,3 +12,5 @@ RewriteCond %{HTTP_REFERER} ^([^.]+.)*{{ referer }} [NC,OR]
{% endfor %}
RewriteCond %{HTTP_REFERER} ^([^.]+.)*dummy\.referer [NC]
RewriteRule .* - [F,L]
RequestHeader unset Proxy early
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment