Add server_tokens note
This commit is contained in:
parent
88c6efd139
commit
aa768c7fd4
@ -57,7 +57,6 @@ http {
|
|||||||
proxy_intercept_errors off;
|
proxy_intercept_errors off;
|
||||||
# ssl_certificate /etc/letsencrypt/live/mydomain.co.uk/fullchain.pem;
|
# ssl_certificate /etc/letsencrypt/live/mydomain.co.uk/fullchain.pem;
|
||||||
# ssl_certificate_key /etc/letsencrypt/live/mydomain.co.uk/privkey.pem;
|
# ssl_certificate_key /etc/letsencrypt/live/mydomain.co.uk/privkey.pem;
|
||||||
server_tokens off;
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_types text/css application/javascript application/json image/svg+xml;
|
gzip_types text/css application/javascript application/json image/svg+xml;
|
||||||
gzip_comp_level 9;
|
gzip_comp_level 9;
|
||||||
@ -82,6 +81,7 @@ http {
|
|||||||
location /index.html {
|
location /index.html {
|
||||||
add_header Cache-Control no-cache;
|
add_header Cache-Control no-cache;
|
||||||
}
|
}
|
||||||
|
server_tokens off; # Hides server version num
|
||||||
|
|
||||||
# [PROTECTED] Reverse Proxy for `orthanc`
|
# [PROTECTED] Reverse Proxy for `orthanc`
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user