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
|
@ -32,8 +32,8 @@ server {
|
|||
alias /var/www/dehydrated;
|
||||
}
|
||||
|
||||
% if proxy:
|
||||
% for location, options in proxy.items():
|
||||
% if locations:
|
||||
% for location, options in locations.items():
|
||||
location ${location} {
|
||||
proxy_pass ${options['target']};
|
||||
proxy_http_version ${options.get('http_version', '1.1')};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue