mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 04:53:40 +08:00
added commands block
This commit is contained in:
@@ -4,7 +4,6 @@ ssl_session_cache shared:SSL:50m;
|
||||
ssl_session_tickets off;
|
||||
|
||||
# Diffie-Hellman parameter for DHE ciphersuites
|
||||
# openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 4096
|
||||
ssl_dhparam /etc/nginx/dhparam.pem;
|
||||
|
||||
# intermediate configuration
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<span ng-if="data.https"># certbot certonly --non-interactive --text --email {{ data.email }} --agree-tos --force-renew --webroot --webroot-path /var/www/_letsencrypt --domain {{ data.domain }} --domain www.{{ data.domain }}{{ data.cdn ? ' --domain cdn.' + data.domain : '' }}
|
||||
server {
|
||||
<span ng-if="data.https">server {
|
||||
listen 443 ssl{{ data.http2 ? ' http2' : '' }};
|
||||
listen [::]:443 ssl{{ data.http2 ? ' http2' : '' }};
|
||||
|
||||
|
Reference in New Issue
Block a user