mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:00:12 +01:00
Improved the nginx config
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
b740bd5075
commit
7fc8f74d0f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user