metanohi/nginx/site.conf

20 lines
545 B
Plaintext
Raw Normal View History

2016-08-25 23:25:48 +02:00
server {
2016-08-27 23:52:18 +02:00
listen 80;
listen [::]:80;
2016-08-25 23:25:48 +02:00
include /etc/nginx/snippets/letsencrypt.conf;
2016-08-27 23:52:18 +02:00
include /etc/nginx/basics/niels/metanohi.name.conf;
2016-08-25 23:25:48 +02:00
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
2016-08-27 22:05:31 +02:00
ssl_certificate /etc/letsencrypt/live/metanohi.name/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/metanohi.name/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/metanohi.name/fullchain.pem;
2016-08-25 23:25:48 +02:00
include /etc/nginx/snippets/ssl.conf;
2016-08-27 23:52:18 +02:00
include /etc/nginx/basics/niels/metanohi.name.conf;
2016-08-25 23:25:48 +02:00
}