From 7a84fb5b2cf7d33c10470843bed32c2e56c72521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my?= Date: Sun, 2 Apr 2017 21:55:23 +0200 Subject: [PATCH] add NGINX_HOME env for easy nginx usage --- nginx.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nginx.json b/nginx.json index 7faf03818d..12bb5278cc 100644 --- a/nginx.json +++ b/nginx.json @@ -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.]+)"