Files
LuPhoto/packaging/nginx.serve.conf
T
2026-11-04 04:58:48 -08:00

19 lines
493 B
Plaintext

server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name photos.luciochen.com;
ssl_certificate /etc/letsencrypt/live/photos.luciochen.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/photos.luciochen.com/privkey.pem;
server_tokens off;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Connection "";
proxy_buffering on;
}
}