瀏覽代碼

Update docs/configuring-playbook-traefik.md: change section levels of ones related to reverse-proxying

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4024/head
Suguru Hirahara 1 年之前
父節點
當前提交
0c60d0898a
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: E4F9743DAB4B7B75
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      docs/configuring-playbook-traefik.md

+ 3
- 3
docs/configuring-playbook-traefik.md 查看文件

@@ -63,7 +63,7 @@ The preferred way to reverse-proxy additional services behind Traefik would be t

However, if your service does not run on a container or runs on another machine, the following configuration might be what you are looking for.

### Reverse-proxying a remote HTTP/HTTPS service behind Traefik
#### Reverse-proxying a remote HTTP/HTTPS service behind Traefik

If you want to host another webserver would be reachable via `my-fancy-website.example.net` from the internet and via `https://<internal webserver IP address>:<internal port>` from inside your network, you can make the playbook's integrated Traefik instance reverse-proxy the traffic to the correct host.

@@ -118,7 +118,7 @@ aux_file_definitions:
```
Changing the `url` to one with an `http://` prefix would allow to connect to the server via HTTP.

### Reverse-proxying another service behind Traefik without terminating SSL
#### Reverse-proxying another service behind Traefik without terminating SSL

If you do not want to terminate SSL at the Traefik instance (for example, because you're already terminating SSL at other webserver), you need to adjust the static configuration in the same way as in the previous chapter in order to be able to add our own dynamic configuration files. Afterwards, you can add the following configuration to your `vars.yml` configuration file:

@@ -146,7 +146,7 @@ With these changes, all TCP traffic will be reverse-proxied to the target system
> [!WARNING]
> This configuration might lead to problems or need additional steps when a [certbot](https://certbot.eff.org/) behind Traefik also tries to manage [Let's Encrypt](https://letsencrypt.org/) certificates, as Traefik captures all traffic to ```PathPrefix(`/.well-known/acme-challenge/`)```.

### Traefik behind a `proxy_protocol` reverse-proxy
#### Traefik behind a `proxy_protocol` reverse-proxy

If you run a reverse-proxy which speaks `proxy_protocol`, add the following configuration to your `vars.yml` file:



Loading…
取消
儲存