mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
fix(nginx): enable gzip and show error logs (#2504)
This commit is contained in:
parent
a7b9adc692
commit
96fb68135e
@ -135,8 +135,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 2283:8080
|
- 2283:8080
|
||||||
logging:
|
|
||||||
driver: none
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- immich-server
|
- immich-server
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -87,8 +87,6 @@ services:
|
|||||||
- IMMICH_WEB_URL
|
- IMMICH_WEB_URL
|
||||||
ports:
|
ports:
|
||||||
- 2283:8080
|
- 2283:8080
|
||||||
logging:
|
|
||||||
driver: none
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- immich-server
|
- immich-server
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -28,7 +28,7 @@ server {
|
|||||||
client_max_body_size 50000M;
|
client_max_body_size 50000M;
|
||||||
|
|
||||||
# Compression
|
# Compression
|
||||||
gzip off;
|
gzip on;
|
||||||
gzip_comp_level 2;
|
gzip_comp_level 2;
|
||||||
gzip_min_length 1000;
|
gzip_min_length 1000;
|
||||||
gzip_proxied any;
|
gzip_proxied any;
|
||||||
|
Loading…
Reference in New Issue
Block a user