generated from nhcarrigan/template
222e0f5a41
Moves all server blocks out of conf.d/server.conf into individual files under sites-available/, grouped by logical application. Each file is symlinked into sites-enabled/ to enable it. The old server.conf is removed.
24 lines
579 B
Plaintext
24 lines
579 B
Plaintext
server {
|
|
listen 443 ssl;
|
|
server_name lynira.link;
|
|
ssl_certificate /etc/letsencrypt/live/lynira.link/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/lynira.link/privkey.pem;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_pass http://127.0.0.1:5044;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name www.lynira.link;
|
|
ssl_certificate /etc/letsencrypt/live/www.lynira.link/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/www.lynira.link/privkey.pem;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_pass http://127.0.0.1:5044;
|
|
}
|
|
}
|