Skip to content

Commit

Permalink
Merge pull request #61 from calvadev/patch-1
Browse files Browse the repository at this point in the history
Fix connection failures on nginx reverse proxy
  • Loading branch information
barrydeen authored Sep 21, 2024
2 parents 5ca37ff + 8e5dc79 commit 7b71d98
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ server {
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 $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
```
Expand Down Expand Up @@ -184,8 +187,8 @@ To start the project using Docker Compose, follow these steps:
```yaml
volumes:
- "./db:/app/db" # only change the left side before the colon
- "./templates/index.html:/app/templates/index.html" # only change the left side before the colon
- "./templates/static:/app/templates/static" # only change the left side before the colon
- "./templates/index.html:${INDEX_PATH}" # only change the left side before the colon
- "./templates/static:${INDEX_PATH}" # only change the left side before the colon
```
5. Run the following command:
Expand Down

0 comments on commit 7b71d98

Please sign in to comment.