dataset/seed/nginx-static/README.md
2023-08-29 10:37:29 +02:00

6.4 KiB

Table of Contents

Return to the list of application services.

nginx-static

Synopsis

Nginx as static web site.

Example

Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.

nginx-static:
  applicationservice: nginx-static
  zones_name:
    - localdns
    - reverseproxy
  values:
    general.revprox.revprox_client.revprox_client_external_domainnames:
      - service.example.net

Basic variables

General

Reverse proxy

Clients configuration

This family is a leadership.

Parameter Comments
general.revprox.revprox_client.revprox_client_external_domainnames
mandatory, multiple
Type: domainname
Service external domain name.
Example: service.example.net
general.revprox.revprox_client.revprox_client_location
mandatory
Type: filename
URI to route request to the correct service.
Default: /

Variables

General

NGINX

Parameter Comment
general.nginx.nginx_root
mandatory
Type: filename
Adresse racine du site web.
Default: /srv/static

Reverse proxy

Clients configuration

This family is a leadership.

Parameter Comments
general.revprox.revprox_client.revprox_client_max_body_size
Type: string
The maximum allowed size of the client request body.

Variables for expert

General

NGINX

Parameter Comment
general.nginx.nginx_hash_bucket_size
mandatory
Type: choice
The bucket size for the server names hash tables.
Choices:
- 128 ← default
- 64
- 32
general.nginx.nginx_post_max_size
mandatory
Type: number
The maximum allowed size of the client request body.
This value is in Mb.
Default: 32

Requirements services

Mandatories

  • LocalDNS: DNS forwarder for local domain name.
  • ReverseProxy: Register to service to a reverse proxy server.

Optionals

  • Journald: Concentrate journal messages on one host.

Dependances