mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
remove unnecessary headers
This commit is contained in:
parent
4a6acdc792
commit
c924cf20e4
1 changed files with 0 additions and 13 deletions
|
@ -12,16 +12,6 @@ server {
|
||||||
# enable to indicate to search engines to not index this site
|
# enable to indicate to search engines to not index this site
|
||||||
# add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
|
# add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
|
||||||
|
|
||||||
# Content security headers for Laravel
|
|
||||||
add_header X-Frame-Options "SAMEORIGIN";
|
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
|
||||||
add_header X-Content-Type-Options "nosniff";
|
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
|
|
||||||
|
|
||||||
include /config/nginx/ssl.conf;
|
include /config/nginx/ssl.conf;
|
||||||
|
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
@ -55,8 +45,5 @@ server {
|
||||||
set $upstream_port 80;
|
set $upstream_port 80;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue