2016-08-25 02:34:29 +02:00
|
|
|
server {
|
2016-08-25 21:54:28 +02:00
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
2016-08-25 02:34:29 +02:00
|
|
|
|
2016-08-25 21:54:28 +02:00
|
|
|
include /etc/nginx/snippets/letsencrypt.conf;
|
2016-08-28 00:09:45 +02:00
|
|
|
include /etc/nginx/basics/niels/media.metanohi.name.conf;
|
2016-08-25 21:54:28 +02:00
|
|
|
}
|
2016-08-25 02:34:29 +02:00
|
|
|
|
2016-08-25 21:54:28 +02:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2016-08-25 02:34:29 +02:00
|
|
|
|
2016-08-25 21:54:28 +02:00
|
|
|
ssl_certificate /etc/letsencrypt/live/media.metanohi.name/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/media.metanohi.name/privkey.pem;
|
|
|
|
ssl_trusted_certificate /etc/letsencrypt/live/media.metanohi.name/fullchain.pem;
|
2016-08-25 02:34:29 +02:00
|
|
|
|
2016-08-25 21:54:28 +02:00
|
|
|
include /etc/nginx/snippets/ssl.conf;
|
2016-08-28 00:09:45 +02:00
|
|
|
include /etc/nginx/basics/niels/media.metanohi.name.conf;
|
2016-08-25 02:34:29 +02:00
|
|
|
}
|