media/misc/nginx.conf

20 lines
576 B
Nginx Configuration File
Raw Normal View History

server {
2016-08-25 21:54:28 +02:00
listen 80;
listen [::]:80;
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 21:54:28 +02:00
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
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 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;
}