Skip to content

Commit

Permalink
Add reverse proxy documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
phlegx authored Apr 21, 2022
1 parent 06d11d5 commit 21544f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@ docker run \
sidekiq-web
```

### Reverse Proxy

To run the container behind a proxy, make sure to set environment variable `SCRIPT_NAME` so that Sidekiq Web UI can properly construct URLs to the necessary CSS/JS assets:

```
docker run \
-p 3001:9292 \
-e REDIS_URI=host:6379 \
-e SCRIPT_NAME=/sidekiq \
sidekiq-web
```

### Docker Compose

Example compose file:
Expand Down

0 comments on commit 21544f1

Please sign in to comment.