mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 04:01:58 +01:00
Improved the nginx config
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
b740bd5075
commit
7fc8f74d0f
@ -4,6 +4,12 @@ server {
|
|||||||
|
|
||||||
root /var/piler/www;
|
root /var/piler/www;
|
||||||
|
|
||||||
|
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 on;
|
||||||
gzip_types text/plain application/xml text/css;
|
gzip_types text/plain application/xml text/css;
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
|
Loading…
Reference in New Issue
Block a user