mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +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
|
||||
|
||||
## Apache
|
||||
|
||||
This guide provides a brief overview for installing Woodpecker server behind the Apache2 webserver. This is an example configuration:
|
||||
|
||||
```nohighlight
|
||||
|
@ -85,12 +86,21 @@ This guide provides a brief overview for installing Woodpecker server behind the
|
|||
woodpecker.example.com {
|
||||
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
|
||||
|
||||
After installing [ngrok](https://ngrok.com/), open a new console and run:
|
||||
|
||||
```
|
||||
```bash
|
||||
ngrok http 8000
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue