20 lines
610 B
Plaintext
20 lines
610 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
include /etc/nginx/snippets/letsencrypt.conf;
|
|
include /etc/nginx/basics/niels/old-projects.metanohi.name.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/old-projects.metanohi.name/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/old-projects.metanohi.name/privkey.pem;
|
|
ssl_trusted_certificate /etc/letsencrypt/live/old-projects.metanohi.name/fullchain.pem;
|
|
|
|
include /etc/nginx/snippets/ssl.conf;
|
|
include /etc/nginx/basics/niels/old-projects.metanohi.name.conf;
|
|
}
|