Skip to content

Commit

Permalink
fix(nginx): enable gzip and show error logs (immich-app#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelheusschen authored May 21, 2023
1 parent a7b9adc commit 96fb681
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions docker/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ services:
dockerfile: Dockerfile
ports:
- 2283:8080
logging:
driver: none
depends_on:
- immich-server
restart: always
Expand Down
2 changes: 0 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ services:
- IMMICH_WEB_URL
ports:
- 2283:8080
logging:
driver: none
depends_on:
- immich-server
restart: always
Expand Down
2 changes: 1 addition & 1 deletion nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server {
client_max_body_size 50000M;

# Compression
gzip off;
gzip on;
gzip_comp_level 2;
gzip_min_length 1000;
gzip_proxied any;
Expand Down

0 comments on commit 96fb681

Please sign in to comment.