metanohi/nginx/site.conf

20 lines
539 B
Plaintext
Raw Normal View History

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