dataset/seed/nginx-reverse-proxy/extras/nginx/00_nginx.yml

78 lines
1.9 KiB
YAML

---
version: 1.1
remotes:
description: Register to service to a reverse proxy server
type: domainname
multi: true
hidden: true
mandatory: false
provider: ReverseProxy
"reverse_proxy_for_{{ suffix }}":
description: 'Serveur mandataire inverse pour {{ suffix }}'
dynamic:
variable: nginx.remotes
reverse_proxy:
description: 'Reverse proxy {{ suffix }}'
help: Paramètrage du proxy inverse
type: leadership
domainnames:
description: 'External domain name for {{ suffix }}'
type: domainname
hidden: true
mandatory: false
provider: ReverseProxy:external
location:
description: 'URI to redirect for {{ suffix }}'
help: Relative redirected URI (without domaine name)
examples:
- /mail
type: unix_filename
multi: true
unique: false
provider: ReverseProxy:location
url:
description: 'Internal URL for {{ suffix }}'
type: web_address
unique: false
provider: ReverseProxy:url
is_websocket:
description: 'The entry point is a websocket for {{ suffix }}'
type: boolean
multi: true
unique: false
provider: ReverseProxy:websocket
max_body_size:
description: 'Body size max for {{ suffix }}'
unique: false
mandatory: false
provider: ReverseProxy:max_body_size
http:
type: boolean
description: 'The website is in HTTP for {{ suffix }}'
unique: false
provider: ReverseProxy:http
revprox_domainnames:
description: >-
Nom des domaines auto-configurés dans le serveur mandataire inverse
type: domainname
multi: true
default:
jinja: |-
{%- for domain in domainnames | nginx_list %}
{{ domain }}
{%- endfor -%}
params:
domainnames:
variable: "nginx.reverse_proxy_for_{{ suffix }}.\
reverse_proxy.domainnames"
hidden: true