Commit e424db12 authored by Florian Pritz's avatar Florian Pritz
Browse files

nginx: Move sslsettings include to http block



The settings don't hurt normal http connections if they are defined at
the top level.
Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 1a992475
......@@ -17,5 +17,7 @@ http {
access_log /var/log/nginx/default/access.log;
error_log /var/log/nginx/default/error.log;
include snippets/sslsettings.conf;
include nginx.d/*.conf;
}
......@@ -24,7 +24,6 @@ server {
ssl_certificate /etc/letsencrypt/live/{{ planet_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ planet_domain }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/{{ planet_domain }}/chain.pem;
include snippets/sslsettings.conf;
root {{ planet_dir }}/archplanet/output;
......
......@@ -24,7 +24,6 @@ server {
ssl_certificate /etc/letsencrypt/live/{{ sources_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ sources_domain }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/{{ sources_domain }}/chain.pem;
include snippets/sslsettings.conf;
root {{ sources_dir }};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment