add NGINX_HOME env for easy nginx usage

This commit is contained in:
Rémy 2017-04-02 21:55:23 +02:00
parent 67234c2a4a
commit 7a84fb5b2c

View File

@ -6,8 +6,11 @@
"hash": "53ca945ffd3ceaa40c2c60e01218a3b7ac64e61d3907484461794ee13757cce9",
"extract_dir": "nginx-1.11.12",
"bin": "nginx.exe",
"env_set": {
"NGINX_HOME": "$dir"
},
"persist": ["conf", "html", "logs", "temp"],
"notes": "To use the correct configuration run 'nginx -p \"$env:SCOOP\\apps\\nginx\\current\"' or 'nginx -p \"%SCOOP%\\apps\\nginx\\current\"'",
"notes": "To use the correct configuration run 'nginx -p \"$env:NGINX_HOME\"' or 'nginx -p \"%NGINX_HOME%\"'",
"checkver": {
"url": "https://nginx.org/en/CHANGES",
"re": "Changes with nginx ([\\d.]+)"