19 lines
493 B
Plaintext
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;
|
|
}
|
|
}
|