add example Caddyfile for HTTPS
Этот коммит содержится в:
родитель
64cc7492ad
Коммит
6b85b07c0d
15
README.md
15
README.md
@ -278,6 +278,21 @@ URL: https://YOUR_DOMAIN/api/webhooks/bitbucket?access_token=YOUR_SECRET
|
|||||||
Triggers: Repository push
|
Triggers: Repository push
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Securing the Webook with HTTPS
|
||||||
|
|
||||||
|
I recommend using [caddy](https://webinstall.dev/caddy) to HTTPS:
|
||||||
|
|
||||||
|
```caddyfile
|
||||||
|
gitdeploy.example.com {
|
||||||
|
log {
|
||||||
|
output stdout
|
||||||
|
format console
|
||||||
|
}
|
||||||
|
encode gzip zstd
|
||||||
|
reverse_proxy /* localhost:4483
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## How to Generate a Base64 Secret
|
## How to Generate a Base64 Secret
|
||||||
|
|
||||||
**in your browser**:
|
**in your browser**:
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user