initial commit
This commit is contained in:
commit
42ce223749
5 changed files with 858 additions and 0 deletions
66
appinfo.yml
Normal file
66
appinfo.yml
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue