mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-17 03:45:13 +00:00
Add hints for reverse proxying of grpc server (#1091)
* Update 70-proxy.md * Update docs/docs/30-administration/70-proxy.md * fix suggestion Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
parent
4d390104bd
commit
3367933378
1 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Proxy
|
# Proxy
|
||||||
|
|
||||||
## Apache
|
## Apache
|
||||||
|
|
||||||
This guide provides a brief overview for installing Woodpecker server behind the Apache2 webserver. This is an example configuration:
|
This guide provides a brief overview for installing Woodpecker server behind the Apache2 webserver. This is an example configuration:
|
||||||
|
|
||||||
```nohighlight
|
```nohighlight
|
||||||
|
@ -85,12 +86,21 @@ This guide provides a brief overview for installing Woodpecker server behind the
|
||||||
woodpecker.example.com {
|
woodpecker.example.com {
|
||||||
reverse_proxy woodpecker-server:8000
|
reverse_proxy woodpecker-server:8000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
woodpeckeragent.example.com {
|
||||||
|
reverse_proxy h2c://woodpecker-server:9000
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
:::note
|
||||||
|
Above configuration shows how to create reverse-proxies for web and agent communication. If your agent uses SSL do not forget to enable [WOODPECKER_GRPC_SECURE](/docs/administration/agent-config#woodpecker_grpc_secure).
|
||||||
|
:::
|
||||||
|
|
||||||
## Ngrok
|
## Ngrok
|
||||||
|
|
||||||
After installing [ngrok](https://ngrok.com/), open a new console and run:
|
After installing [ngrok](https://ngrok.com/), open a new console and run:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
ngrok http 8000
|
ngrok http 8000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue