We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c0796 commit 1875271Copy full SHA for 1875271
nginx.conf
@@ -1,3 +1,8 @@
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
+
6
location / {
7
# try to serve file directly, fallback to rewrite
8
try_files $uri @rewriteapp;
@@ -12,4 +17,5 @@ location ~ ^/index\.php(/|$) {
12
17
try_files @heroku-fcgi @heroku-fcgi;
13
18
# ensure that /index.php isn't accessible directly, but only through a rewrite
14
19
internal;
20
+ }
15
21
}
0 commit comments