added commands block

This commit is contained in:
Szekeres Bálint
2018-01-20 21:49:36 +01:00
parent 9049cd73c9
commit c8cd5a1c8f
5 changed files with 69 additions and 14 deletions

View File

@@ -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

View File

@@ -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' : '' }};