move nginx https setup into a snippet
This commit is contained in:
11
nginx/snippets/https.conf
Normal file
11
nginx/snippets/https.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/grapheneos.org/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/grapheneos.org/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/grapheneos.org/chain.pem;
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
Reference in New Issue
Block a user