Skip to content

Commit 61a9462

Browse files
committed
Update nginx.conf
1 parent 1875271 commit 61a9462

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

nginx.conf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
server {
2-
add_header X-Frame-Options "SAMEORIGIN";
3-
add_header X-XSS-Protection "1; mode=block";
4-
add_header X-Content-Type-Options "nosniff";
5-
61
location / {
72
# try to serve file directly, fallback to rewrite
83
try_files $uri @rewriteapp;
@@ -17,5 +12,4 @@ location ~ ^/index\.php(/|$) {
1712
try_files @heroku-fcgi @heroku-fcgi;
1813
# ensure that /index.php isn't accessible directly, but only through a rewrite
1914
internal;
20-
}
2115
}

0 commit comments

Comments
 (0)