bgg-ottawa-sell-club/contrib/nginx-bggsell.conf
2024-02-04 13:31:57 -05:00

24 lines
507 B
Plaintext

server {
listen 443;
listen [::]:443;
ssl_certificate /etc/lego/certificates/_.babyl.ca.crt;
ssl_certificate_key /etc/lego/certificates/_.babyl.ca.key;
server_name bgg.babyl.ca;
access_log /var/log/nginx/bgg.log;
error_log /var/log/nginx/bgg-error.log;
client_max_body_size 10M;
root /home/bggsell/public_html;
index index.html;
location / {
try_files $uri $uri/ $uri.html /index.html =404;
}
location /db/ {
alias /home/bggsell/db/;
}
}