bundles/paperless: fix config for static directory
This commit is contained in:
parent
72f756a686
commit
26ee966bd6
6 changed files with 38 additions and 53 deletions
|
@ -49,22 +49,12 @@ nodes['home.paperless-sophie'] = {
|
|||
'nginx': {
|
||||
'vhosts': {
|
||||
'paperless': {
|
||||
'domain': 'paperless-sophie.home.kunbox.net',
|
||||
'ssl': '_.home.kunbox.net',
|
||||
'locations': {
|
||||
'/': {
|
||||
'target': 'http://127.0.0.1:22070',
|
||||
'websockets': True,
|
||||
'proxy_set_header': {
|
||||
'X-Forwarded-Host': '$server_name',
|
||||
},
|
||||
},
|
||||
},
|
||||
'extras': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
'paperless': {
|
||||
'domain': 'paperless-sophie.home.kunbox.net',
|
||||
'version': 'ng-1.4.4',
|
||||
'timezone': 'Europe/Berlin',
|
||||
},
|
||||
|
|
|
@ -36,25 +36,12 @@ nodes['home.paperless'] = {
|
|||
'nginx': {
|
||||
'vhosts': {
|
||||
'paperless': {
|
||||
'domain': 'paperless.home.kunbox.net',
|
||||
'ssl': '_.home.kunbox.net',
|
||||
'locations': {
|
||||
'/': {
|
||||
'target': 'http://127.0.0.1:22070',
|
||||
'websockets': True,
|
||||
'proxy_set_header': {
|
||||
'X-Forwarded-Host': '$server_name',
|
||||
},
|
||||
},
|
||||
'/static/': {
|
||||
'alias': '/opt/paperless/static/',
|
||||
},
|
||||
},
|
||||
'max_body_size': '100M',
|
||||
},
|
||||
},
|
||||
},
|
||||
'paperless': {
|
||||
'domain': 'paperless.home.kunbox.net',
|
||||
'version': 'v2.5.3',
|
||||
'timezone': 'Europe/Berlin',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue