diff options
author | 2021-05-17 18:56:05 +0800 | |
---|---|---|
committer | 2021-05-17 19:30:39 +0800 | |
commit | c2a7c78225a54445098d666d72c6e84c21ca70ca (patch) | |
tree | 2855c81dbd6d3d0e1b787397b3558d9a13fab6e8 /rulemgt-standalone/src/main/assembly/nginx-http.conf | |
parent | 6f0d10beffc66f5e44f91538b3cd396cce5f8c84 (diff) |
bugfix - rule creation failure on GUI
Issue-ID: HOLMES-440
Change-Id: I3ba937d992b054149d1c5cc072b5920935923ec5
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main/assembly/nginx-http.conf')
-rw-r--r-- | rulemgt-standalone/src/main/assembly/nginx-http.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rulemgt-standalone/src/main/assembly/nginx-http.conf b/rulemgt-standalone/src/main/assembly/nginx-http.conf index e0c4ff3..6c49c87 100644 --- a/rulemgt-standalone/src/main/assembly/nginx-http.conf +++ b/rulemgt-standalone/src/main/assembly/nginx-http.conf @@ -1,9 +1,9 @@ #user nobody; -worker_processes 1; error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info; +#error_log logs/error.log debug; pid logs/nginx.pid; @@ -34,7 +34,7 @@ http { location / { root /usr/share/nginx/html; - proxy_set_header Host $host; + proxy_set_header Host $proxy_host; proxy_set_header X-Real-IP $remote_addr; proxy_redirect off; |