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.
65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
server {
|
|
listen 443 ssl;
|
|
server_name contact.nhcarrigan.com;
|
|
ssl_certificate /etc/letsencrypt/live/contact.nhcarrigan.com/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/contact.nhcarrigan.com/privkey.pem;
|
|
|
|
root /home/naomi/socials;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name docs.nhcarrigan.com;
|
|
ssl_certificate /etc/letsencrypt/live/docs.nhcarrigan.com/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/docs.nhcarrigan.com/privkey.pem;
|
|
|
|
root /home/naomi/docs/dist;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name manual.nhcarrigan.com;
|
|
ssl_certificate /etc/letsencrypt/live/manual.nhcarrigan.com/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/manual.nhcarrigan.com/privkey.pem;
|
|
|
|
root /home/naomi/manual;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name sitemap.nhcarrigan.com;
|
|
ssl_certificate /etc/letsencrypt/live/sitemap.nhcarrigan.com/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/sitemap.nhcarrigan.com/privkey.pem;
|
|
|
|
root /home/naomi/sitemap;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name socials.nhcarrigan.com;
|
|
ssl_certificate /etc/letsencrypt/live/socials.nhcarrigan.com/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/socials.nhcarrigan.com/privkey.pem;
|
|
|
|
root /home/naomi/socials;
|
|
|
|
location / {
|
|
index index.html;
|
|
}
|
|
}
|