|
@@ -5,6 +5,11 @@ server {
|
|
|
server_name 127.0.0.1;
|
|
server_name 127.0.0.1;
|
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; # pass on real client IP
|
|
proxy_set_header X-Real-IP $remote_addr; # pass on real client IP
|
|
|
|
|
+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
|
|
|
+ add_header X-Frame-Options SAMEORIGIN;
|
|
|
|
|
+ add_header X-XSS-Protection "1; mode=block";
|
|
|
|
|
+ add_header X-Content-Type-Options nosniff;
|
|
|
|
|
+ add_header Referrer-Policy "no-referrer";
|
|
|
|
|
|
|
|
location / {
|
|
location / {
|
|
|
proxy_pass http://localhost:8080;
|
|
proxy_pass http://localhost:8080;
|