calculated

This commit is contained in:
gwen 2026-02-11 10:46:05 +01:00
parent 417211ae04
commit d44323b049
2 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,7 @@
| Variable | Description |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
| **<a id="vps_domain_name" name="vps_domain_name">vps_domain_name</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | The domain name of the VPS.<br/>**Example**: example.fr |
# Pedagogic html static file server
> [!NOTE]
@ -19,10 +23,10 @@
> **Path**: nginx
| Variable | Description |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
| **<a id="nginx.domain_name" name="nginx.domain_name">nginx.domain_name</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Domain name.<br/>**Validator**: type domainname<br/>**Example**: exemple.fr |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **<a id="nginx.domain_name" name="nginx.domain_name">nginx.domain_name</a>**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Domain name.<br/>**Validator**: type domainname<br/>**Default**: the value of the variable "[The domain name of the VPS](#vps_domain_name)"<br/>**Example**: example.fr |
| **<a id="nginx.email" name="nginx.email">nginx.email</a>**<br/>[`mail`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Email for the domain name.<br/>This is for certbot.<br/>**Example**: contact@exemple.fr |
| **<a id="nginx.htpasswd_file" name="nginx.htpasswd_file">nginx.htpasswd_file</a>**<br/>[`UNIX filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Htpassword file.<br/>**Validator**: file type allowed: "file"<br/>**Default**: /etc/nginx/.htpasswd |
| **<a id="nginx.htpasswd_file" name="nginx.htpasswd_file">nginx.htpasswd_file</a>**<br/>[`UNIX filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Htpassword user credential file name.<br/>**Validator**: file type allowed: "file"<br/>**Default**: /etc/nginx/.htpasswd |
## Nginx authenticated user credentials

View file

@ -27,6 +27,8 @@ nginx:
domain_name:
description: domain name
default:
variable: __.vps_domain_name
examples:
- example.fr
type: domainname