|
|
|
@ -9,6 +9,8 @@ server { |
|
|
|
|
include /etc/nginx/fastcgi_params; |
|
|
|
|
fastcgi_pass unix:__pwd__/e2e-tests/conf/llng-fastcgi.sock; |
|
|
|
|
#fastcgi_pass 127.0.0.1:9090; |
|
|
|
|
#fastcgi_param RULES_URL "http://test2.example.com:__port__/test.json"; |
|
|
|
|
#fastcgi_param VHOSTTYPE "DevOps"; |
|
|
|
|
|
|
|
|
|
# Drop post datas |
|
|
|
|
fastcgi_pass_request_body off; |
|
|
|
@ -40,6 +42,12 @@ server { |
|
|
|
|
include conf/nginx-lua-headers.conf; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location /test.json { |
|
|
|
|
auth_request off; |
|
|
|
|
allow 127.0.0.0/8; |
|
|
|
|
deny all; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location /rules.json { |
|
|
|
|
auth_request off; |
|
|
|
|
allow 127.0.0.0/8; |
|
|
|
|