fix(nginx): make post-create executable and guard empty port maps
The post-create trigger was not executable so plugn skipped it. Also skip generating the 502 config when PROXY_PORT_MAP is empty (e.g. after ports:clear) to avoid a sigil template index error.
This commit is contained in:
0
plugins/nginx-vhosts/post-create
Normal file → Executable file
0
plugins/nginx-vhosts/post-create
Normal file → Executable file
Reference in New Issue
Block a user