Skip to content

Commit c924cf2

Browse files
committed
remove unnecessary headers
1 parent 4a6acdc commit c924cf2

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

linkace.subdomain.conf.sample

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ server {
1111

1212
# enable to indicate to search engines to not index this site
1313
# add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
14-
15-
# Content security headers for Laravel
16-
add_header X-Frame-Options "SAMEORIGIN";
17-
add_header X-XSS-Protection "1; mode=block";
18-
add_header X-Content-Type-Options "nosniff";
19-
20-
proxy_set_header X-Forwarded-For $remote_addr;
21-
proxy_set_header X-Forwarded-Proto $scheme;
22-
proxy_set_header Host $host;
23-
2414

2515
include /config/nginx/ssl.conf;
2616

@@ -55,8 +45,5 @@ server {
5545
set $upstream_port 80;
5646
set $upstream_proto http;
5747
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
58-
5948
}
60-
61-
6249
}

0 commit comments

Comments
 (0)