first commit

This commit is contained in:
sujiba 2024-09-17 00:47:41 +02:00
commit 3bfbd3f7f9
10 changed files with 329 additions and 0 deletions

19
templates/proxy_params.j2 Normal file
View file

@ -0,0 +1,19 @@
#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
# Set headers
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
{#
# Hide headers
proxy_hide_header Server;
proxy_hide_header X-Powered-By;
proxy_hide_header X-Frame-Options;
proxy_hide_header X-XSS-Protection;
proxy_hide_header Content-Security-Policy;
proxy_hide_header Referrer-Policy;
proxy_hide_header Strict-Transport-Security;
#}