Skip to content

Commit 30af638

Browse files
committed
update instructions
1 parent f2cfe42 commit 30af638

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

blog/2023-02-14-selenium-integration/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ services:
7676
- BASE_URL=http://${WM_BASE_URL}
7777
- RUST_LOG=info
7878
- NUM_WORKERS=10 # <- an increased number of workers is helpful when running a lot of scraping scripts in parallel
79-
- TIMEOUT=99999999 # <- add this; This is important: Scraping websites usually outlasts normal scripts. To prevent a timeout we should increase this value.
79+
- TIMEOUT=99999 # <- add this; This is important: Scraping websites usually outlasts normal scripts. To prevent a timeout we should increase this value.
8080
- DISABLE_SERVER=false
8181
- METRICS_ADDR=false
8282
depends_on:
@@ -237,7 +237,7 @@ services:
237237
- BASE_URL=${WM_BASE_URL}
238238
- RUST_LOG=info
239239
- NUM_WORKERS=10 # <- an increased number of workers is helpful when running a lot of scraping scripts in parallel
240-
- TIMEOUT=99999999 # <- add this; This is important: Scraping websites usually outlasts normal scripts. To prevent a timeout we should increase this value.
240+
- TIMEOUT=99999 # <- add this; This is important: Scraping websites usually outlasts normal scripts. To prevent a timeout we should increase this value.
241241
- DISABLE_SERVER=false
242242
- METRICS_ADDR=false
243243
depends_on:

docs/advanced/1_self_host/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ address:
4141
# .env
4242
DB_PASSWORD=supersecret
4343
WM_BASE_URL=http://windmill.example.com
44+
CADDY_REVERSE_PROXY=":80"
4445
```
4546

46-
Setting the `WM_BASE_URL` configures Windmill to use it as its base url. The reverse proxy is also configured at the same domain. You can use any reverse proxy as long as they behave mostly like the following caddy configuration:
47+
Setting the `WM_BASE_URL` configures Windmill to use it as its base url. The reverse proxy is configured at `CADDY_REVERSE_PROXY`. You can use any reverse proxy as long as they behave mostly like the following caddy configuration:
4748

4849
```
49-
http://{$BASE_URL} {
50+
:80 {
5051
bind {$ADDRESS}
5152
reverse_proxy /ws/* http://lsp:3001
5253
reverse_proxy /* http://windmill_server:8000

0 commit comments

Comments
 (0)