22 lines
818 B
Plaintext
22 lines
818 B
Plaintext
server {
|
|
ssl_certificate /home/podman/wild-phares/fullchain.cer;
|
|
ssl_certificate_key /home/podman/wild-phares/phares.duckdns.org.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
listen 443 ssl http2;
|
|
server_name immich.phares.duckdns.org;
|
|
client_max_body_size 50000M;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_redirect off;
|
|
proxy_read_timeout 600s;
|
|
proxy_send_timeout 600s;
|
|
send_timeout 600s;
|
|
location / {
|
|
proxy_pass http://192.168.11.2:3001/;
|
|
}
|
|
} |