mirror of https://github.com/zer0bin-dev/zer0bin
Update example.nginx
This commit is contained in:
parent
14f3bfd6fb
commit
856c8644e2
|
@ -42,13 +42,11 @@ server {
|
|||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
location ~* \.(js|css|pdf|html|swf)$ {
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
|
||||
# If you have SSL certs from letsencrypt via certbot, uncomment the below lines:
|
||||
|
||||
# ssl_certificate /etc/letsencrypt/live/example.tld/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/example.tld/privkey.pem;
|
||||
}
|
||||
|
||||
# ssl_certificate /etc/letsencrypt/live/example.tld/fullchain.pem;
|
||||
# ssl_certificate_key /etc/letsencrypt/live/example.tld/privkey.pem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue