dataset/seed/nginx-reverse-proxy/README.md

78 lines
4.2 KiB
Markdown
Raw Normal View History

2022-12-24 13:01:51 +01:00
---
gitea: none
include_toc: true
---
# nginx-reverse-proxy
2023-08-02 09:26:54 +02:00
## Synopsis
2022-12-24 13:01:51 +01:00
Nginx as reverse proxy.
2023-08-10 21:55:46 +02:00
[Software's website.](https://nginx.org/)
2022-12-24 13:01:51 +01:00
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
## Variables
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
### Général
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
#### NGINX
Paramétrage global de NGINX.
| Parameter | Comments |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **[general.nginx.nginx_default](dictionaries/25_nginx.xml)**<br/>mandatory<br/>**Type:** [`domainname`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Nom de domaine du serveur mandataire inverse par défaut.<br/>Si un client accède au serveur avec un nom de domaine non déclaré, le flux est redirigé vers ce domaine.<br/>**Default:** *calculated* |
2023-08-10 21:55:46 +02:00
| **[general.nginx.nginx_certificates_provider](dictionaries/25_nginx.xml)**<br/>mandatory<br/>**Type:** [`choice`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Autorité de certification signant le certificat des domaines extérieurs.<br/>**Choices:**<br/>- `self-signed` ← default<br/>- `letsencrypt` |
2023-08-02 09:26:54 +02:00
## Variables for expert
### Général
#### NGINX
Paramétrage global de NGINX.
2023-08-10 21:55:46 +02:00
| Parameter | Comments |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
| **[general.nginx.nginx_hash_bucket_size](dictionaries/21_nginx.xml)**<br/>mandatory<br/>**Type:** [`choice`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Longueur maximum pour un nom de domaine.<br/>**Choices:**<br/>- `128` ← default<br/>- `64`<br/>- `32` |
| **[general.nginx.nginx_post_max_size](dictionaries/21_nginx.xml)**<br/>mandatory<br/>**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Taille maximale des données reçues par la méthode POST (en Mo).<br/>**Default:** 32 |
2023-08-02 09:26:54 +02:00
## Requirements services
- **LocalDNS**
- Journald
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
**bold**: provider is mandatory
## Example
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
2023-08-01 15:13:17 +02:00
```
nginx-reverse-proxy:
applicationservice: nginx-reverse-proxy
provider_zone: reverseproxy
zones_name:
- localdns
```
2022-12-24 13:01:51 +01:00
## Dependances
2023-01-17 21:43:32 +01:00
- [nginx-common](../nginx-common/README.md)
- [base-fedora-37](../base-fedora-37/README.md)
2022-12-24 13:01:51 +01:00
- [base-fedora](../base-fedora/README.md)
- [systemd](../systemd/README.md)
- [base-machine](../base-machine/README.md)
- [base](../base/README.md)
- [dns-local](../dns-local/README.md)
2023-02-14 14:24:16 +01:00
- [pki-tls](../pki-tls/README.md)
2023-06-29 18:56:46 +02:00
- [journald](../journald/README.md)
2023-07-31 18:41:59 +02:00
- [resolved](../resolved/README.md)
2022-12-24 13:01:51 +01:00
2023-01-18 09:19:37 +01:00
## Supplier
2022-12-24 13:01:51 +01:00
2023-01-18 09:19:37 +01:00
[reverse-proxy-client](../reverse-proxy-client/README.md)
2023-02-14 14:43:41 +01:00
[All applications services for this dataset.](../README.md)