mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
nginx: Fix incorrect display of YAML config example in documentation (#2119)
This commit is contained in:
@@ -18,12 +18,14 @@ The NGINX Proxy add-on is commonly used in conjunction with the [Duck DNS](https
|
||||
- `ssl_key`
|
||||
- `server_port`
|
||||
3. And you need to add the `trusted_proxies` section (requests from reverse proxies will be blocked if these options are not set).
|
||||
|
||||
```yaml
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 172.30.33.0/24
|
||||
```
|
||||
|
||||
4. In the nginx addon configuration, change the `domain` option to the domain name you registered (from DuckDNS or any other domain you control).
|
||||
5. Leave all other options as-is.
|
||||
6. Save configuration.
|
||||
|
||||
Reference in New Issue
Block a user