Skip to content

Commit

Permalink
update nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMEllon committed Dec 3, 2021
1 parent c4153f2 commit afd7b99
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ http {
proxy_hide_header X-Powered-By;

location / {
proxy_cache app;
proxy_cache_valid 120m;
proxy_cache app;
proxy_cache_valid 120m;

add_header Feature-Policy "sync-xhr 'none'";
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
add_header Strict-Transport-Security "max-age=31536000";
add_header Permissions-Policy "sync-xhr 'none'";
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
add_header Strict-Transport-Security "max-age=31536000";

proxy_pass http://app;
proxy_pass http://app;
}

}
Expand Down

0 comments on commit afd7b99

Please sign in to comment.