Created
July 19, 2023 07:52
-
-
Save GamePlayer-8/816710d3f6b85ae59d17888c33c9303d to your computer and use it in GitHub Desktop.
nginx_letsencrypt.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resolver 127.0.0.1 valid=300s; | |
resolver_timeout 5s; | |
ssl_certificate /etc/letsencrypt/live/$host/cert.pem; | |
ssl_certificate_key /etc/letsencrypt/live/$host/privkey.pem; | |
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; | |
ssl_stapling off; | |
ssl_stapling_verify off; | |
include /etc/letsencrypt/options-ssl-nginx.conf; | |
proxy_hide_header X-Frame-Options; | |
add_header X-XSS-Protection "1; mode=block"; | |
add_header X-Frame-Options "ALLOWALL"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment