|
|
|
|
@ -22,9 +22,9 @@ server {
|
|
|
|
|
location /api {
|
|
|
|
|
|
|
|
|
|
# Compression
|
|
|
|
|
gzip_static on;
|
|
|
|
|
gzip_min_length 1000;
|
|
|
|
|
gzip_comp_level 2;
|
|
|
|
|
gzip_static on;
|
|
|
|
|
gzip_min_length 1000;
|
|
|
|
|
gzip_comp_level 2;
|
|
|
|
|
|
|
|
|
|
proxy_buffering off;
|
|
|
|
|
proxy_buffer_size 16k;
|
|
|
|
|
@ -41,17 +41,17 @@ server {
|
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
|
|
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
|
rewrite /api/(.*) /$1 break;
|
|
|
|
|
|
|
|
|
|
proxy_pass http://immich-server:3000;
|
|
|
|
|
proxy_pass http://immich-server:3001;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
|
|
|
|
|
# Compression
|
|
|
|
|
gzip_static on;
|
|
|
|
|
gzip_min_length 1000;
|
|
|
|
|
gzip_comp_level 2;
|
|
|
|
|
gzip_static on;
|
|
|
|
|
gzip_min_length 1000;
|
|
|
|
|
gzip_comp_level 2;
|
|
|
|
|
|
|
|
|
|
proxy_buffering off;
|
|
|
|
|
proxy_buffer_size 16k;
|
|
|
|
|
|