[mod] proxy nginx config is now generated based on domains.env

- domains and servers in domains.env are mapped 1:1
 - moved domains.env to ./files/domains.env
 - renamed kweb to web for a more generic approach
This commit is contained in:
2020-05-27 15:58:21 -04:00
parent 3d778ff698
commit f3d17e931a
8 changed files with 130 additions and 46 deletions

4
files/domains.env Normal file
View File

@@ -0,0 +1,4 @@
# domains are seperated with \n
DOMAINS=example.com www api test
# server values are seperated with ' ' (space) (one server per domain)
SERVER=web