Improved the nginx config

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2021-01-03 18:22:42 +01:00
parent b740bd5075
commit 7fc8f74d0f

View File

@ -4,7 +4,13 @@ server {
root /var/piler/www;
gzip on;
server_tokens off;
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
add_header Referrer-Policy "same-origin";
gzip on;
gzip_types text/plain application/xml text/css;
gzip_vary on;