Compare commits
No commits in common. "c6d6fb7d77dcbbd14ed14c9272cebb1b74adc968" and "5a094f31e5ee040531cf7e2c04091cdf3b08be59" have entirely different histories.
c6d6fb7d77
...
5a094f31e5
2 changed files with 5 additions and 16 deletions
19
README.md
19
README.md
|
|
@ -1,13 +1,6 @@
|
||||||
# Vps target server system variables
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||||
> [!NOTE]
|
| **<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 |
|
||||||
>
|
|
||||||
> **Path**: vps
|
|
||||||
|
|
||||||
| 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 |
|
|
||||||
| **<a id="vps.ssh_key" name="vps.ssh_key">vps.ssh_key</a>**<br/>[`UNIX filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) | Vps ssh private key.<br/>- The ssh key path must be accessible (the file must be present)<br/>- It is possible not to declare (if the ssh key is your default key).<br/>**Validators**: <br/>• this filename could be a relative path<br/>• this file must exist<br/>• file type allowed: "file"<br/>**Example**: ./sshkeys/myssh_privatekey |
|
|
||||||
|
|
||||||
# Pedagogic html static file server
|
# Pedagogic html static file server
|
||||||
|
|
||||||
|
|
@ -27,15 +20,11 @@
|
||||||
> - Activation of the Nginx site: The site is enabled by creating a symbolic link in the sites-enabled directory.\
|
> - Activation of the Nginx site: The site is enabled by creating a symbolic link in the sites-enabled directory.\
|
||||||
> - Testing the Nginx configuration: The Nginx configuration is tested before restarting the service.\
|
> - Testing the Nginx configuration: The Nginx configuration is tested before restarting the service.\
|
||||||
> - Restarting Nginx: Nginx is restarted to apply the changes.\
|
> - Restarting Nginx: Nginx is restarted to apply the changes.\
|
||||||
> \
|
|
||||||
> Dependencies:.\
|
|
||||||
> \
|
|
||||||
> - ubuntu 24.04 linux distribution.\
|
|
||||||
> **Path**: nginx
|
> **Path**: nginx
|
||||||
|
|
||||||
| Variable | Description |
|
| 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/>**Default**: the value of the variable "[The domain name of the VPS](#vps.domain_name)"<br/>**Example**: example.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.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 user credential file name.<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 |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,12 @@ vps: # vps target server system variables
|
||||||
examples:
|
examples:
|
||||||
- ./sshkeys/myssh_privatekey
|
- ./sshkeys/myssh_privatekey
|
||||||
type: unix_filename
|
type: unix_filename
|
||||||
|
mandatory: false
|
||||||
params:
|
params:
|
||||||
types:
|
types:
|
||||||
- file
|
- file
|
||||||
test_existence: true
|
test_existence: true
|
||||||
allow_relative: true
|
allow_relative: true
|
||||||
mandatory: false
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
description: pedagogic html static file server
|
description: pedagogic html static file server
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue