OSC / nginx_stage

[MOVED] Stages & controls the per-user NGINX environment
https://github.com/OSC/ondemand/tree/master/nginx_stage
MIT License
0 stars 1 forks source link

Is `%{env}` necessary - in nginx_stage.yml? #14

Closed ericfranz closed 7 years ago

ericfranz commented 7 years ago

Seems like it saves OOD nginx_stage developer time, but may confuse admins using the config.

Actually, what we are doing is creating template strings that are used elsewhere. So if you start with just "dev" and a username and an app directory name you can produce the corresponding root or url... so maybe this is useful.