nginx conf

This commit is contained in:
Zsolt Ero
2024-02-24 02:28:15 +01:00
parent b41ced91de
commit cb10f4ba90
5 changed files with 46 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
server {
server_name ofm __DOMAIN__;
server_name __LOCAL__ __DOMAIN__;
# ssl: https://ssl-config.mozilla.org / modern config
# to be used with the Cloudflare proxied endpoint
@@ -11,9 +11,12 @@ server {
ssl_certificate /data/nginx/certs/cf.cert;
ssl_certificate_key /data/nginx/certs/cf.key;
ssl_session_timeout 1d;
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
ssl_session_tickets off;
# modern configuration
ssl_protocols TLSv1.3;
ssl_prefer_server_ciphers off;