readytouse
This commit is contained in:
parent
91063c1a0c
commit
9281354f2e
16 changed files with 690 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
# Configuration HTTP temporaire pour obtenir le certificat Let's Encrypt
|
||||
server {
|
||||
listen 80;
|
||||
server_name {{ immich_domain }};
|
||||
|
||||
client_max_body_size {{ immich_nginx_client_max_body_size | default('10G') }};
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:{{ immich_host_http_port }};
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $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_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
proxy_read_timeout 3600;
|
||||
proxy_send_timeout 3600;
|
||||
proxy_request_buffering off;
|
||||
proxy_buffering off;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue