Skip to content

Commit

Permalink
docs: add nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
missuo committed Apr 10, 2024
1 parent 9f72d7c commit d11a18d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,20 @@ wget -O compose.yaml https://raw.githubusercontent.com/missuo/discord-image/main
nano compose.yaml
docker compose up -d
```
### Nginx Reverse Proxy

```nginx
location / {
proxy_pass http://localhost:8080;
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 REMOTE-HOST $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_http_version 1.1;
}
```

## Config files and environment variables

Expand Down

0 comments on commit d11a18d

Please sign in to comment.