mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
20 lines
447 B
Nginx Configuration File
20 lines
447 B
Nginx Configuration File
|
server {
|
||
|
client_max_body_size 50000M;
|
||
|
|
||
|
listen 80;
|
||
|
|
||
|
location / {
|
||
|
proxy_buffering off;
|
||
|
proxy_buffer_size 16k;
|
||
|
proxy_busy_buffers_size 24k;
|
||
|
proxy_buffers 64 4k;
|
||
|
proxy_force_ranges on;
|
||
|
|
||
|
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_pass http://immich_server:3000;
|
||
|
}
|
||
|
}
|