bundles/nginx: proxy is a dict now, add some more configuration options
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-09-22 18:36:10 +02:00
parent d1672a9a45
commit 7ea85247e0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 39 additions and 10 deletions

View file

@ -19,8 +19,15 @@ nodes['home.octoprint-vielschichtigkeit'] = {
'use_ssl_for_all_connections': False,
'vhosts': {
'vielschichtigkeit.franzi-home.kunbox.net': {
'do_not_set_content_security_headers': True,
'proxy': {
'/': 'http://[::1]:22030/',
'/': {
'target': 'http://[::1]:22030/',
'websockets': True,
'proxy_set_header': {
'X-Real-IP': '$remote_addr',
},
},
},
},
},