bundles/nginx: rename 'proxy' metadata to 'locations', support more generic options, move extras files to metadata
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
a3a228fc2d
commit
b5ab21549d
25 changed files with 164 additions and 144 deletions
|
@ -51,7 +51,7 @@ nodes['home.paperless-sophie'] = {
|
|||
'paperless': {
|
||||
'domain': 'paperless-sophie.home.kunbox.net',
|
||||
'ssl': '_.home.kunbox.net',
|
||||
'proxy': {
|
||||
'locations': {
|
||||
'/': {
|
||||
'target': 'http://127.0.0.1:22070',
|
||||
'websockets': True,
|
||||
|
|
|
@ -40,7 +40,7 @@ nodes['home.paperless'] = {
|
|||
'paperless': {
|
||||
'domain': 'paperless.home.kunbox.net',
|
||||
'ssl': '_.home.kunbox.net',
|
||||
'proxy': {
|
||||
'locations': {
|
||||
'/': {
|
||||
'target': 'http://127.0.0.1:22070',
|
||||
'websockets': True,
|
||||
|
@ -48,8 +48,10 @@ nodes['home.paperless'] = {
|
|||
'X-Forwarded-Host': '$server_name',
|
||||
},
|
||||
},
|
||||
'/static/': {
|
||||
'alias': '/opt/paperless/static/',
|
||||
},
|
||||
},
|
||||
'extras': True,
|
||||
'max_body_size': '100M',
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue