1
0
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:
Michel Heusschen 2023-05-21 15:23:46 +02:00 committed by GitHub
parent a7b9adc692
commit 96fb68135e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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;