nginx/appinfo.yml

67 lines
1.8 KiB
YAML
Raw Normal View History

2024-10-16 21:04:26 +02:00
mainunit: nginx.service
mainunitfile: nginx.service.j2
templatefiles:
- src: nginx.conf.j2
dest: ~/nginx.conf
backuptype: none
configdefinition:
"$id": "nginx config"
"$schema": "http://json-schema.org/draft-07/schema#"
description: Extra nginx configuration
type: object
additionalProperties: false
properties:
certificatefile:
type: string
default: "~/ssl.cert"
description: The file used for the certificate. ATM this nginx only supports one certificate (use wildcards)
keyfile:
type: string
default: "~/ssl.key"
description: The key file used for the certificate. ATM this nginx only supports one certificate (use wildcards)
httpport:
type: integer
default: 8080
minimum: 1025
maximum: 65536
httpsport:
type: integer
default: 8443
minimum: 1025
maximum: 65536
listenhttpaddress4:
type: string
format: ipv4
default: 0.0.0.0
listenhttpsaddress4:
type: string
format: ipv4
default: 0.0.0.0
listenhttpaddress6:
type: string
format: ipv6
default: "::"
listenhttpsaddress6:
type: string
format: ipv6
default: "::"
imports:
web:
"$id": "web import"
"$schema": "http://json-schema.org/draft-07/schema#"
description: What we import from other apps under the web key. To define what we need to proxy
type: array
items:
type: object
additionalProperties: false
properties:
proxyaddress:
type: string
description: The address to proxy to
publicname:
default: ""
type: string
description: The public address to expose, it will be sufixed by the domainname we use. Will default to the appname
required:
- proxyaddress