Skip to content

Commit

Permalink
nginx debug
Browse files Browse the repository at this point in the history
  • Loading branch information
satterly committed Apr 9, 2024
1 parent bbb3946 commit e752c6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/templates/app/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ http {
location /api {
proxy_pass http://backend;

proxy_http_version 1.1;
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 $http_x_forwarded_proto;
proxy_set_header Connection "";
}

root /web;
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.test.mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
depends_on:
- db
environment:
# - DEBUG=1 # remove this line to turn DEBUG off
- DEBUG=1 # remove this line to turn DEBUG off
- LOG_LEVEL=error # debug, info, warn (default), or error
- SECRET_KEY=super-secret
- DATABASE_URL=mongodb://db:27017/monitoring
Expand Down

0 comments on commit e752c6d

Please sign in to comment.