Commit e9256609 authored by Xavier Guimard's avatar Xavier Guimard

Some node-handler hooks (#782)

parent 7477ce08
Pipeline #1430 passed with stage
in 2 minutes and 26 seconds
...@@ -37,3 +37,4 @@ templateDir = __pwd__/lemonldap-ng-manager/site/templates ...@@ -37,3 +37,4 @@ templateDir = __pwd__/lemonldap-ng-manager/site/templates
[node-handler] [node-handler]
nodeVhosts = test2.example.com nodeVhosts = test2.example.com
loopBackUrl = http://127.0.0.1:19876/
...@@ -45,3 +45,4 @@ templateDir = __pwd__/lemonldap-ng-manager/site/templates ...@@ -45,3 +45,4 @@ templateDir = __pwd__/lemonldap-ng-manager/site/templates
[node-handler] [node-handler]
nodeVhosts = test2.example.com nodeVhosts = test2.example.com
loopBackUrl = http://127.0.0.1:19876/
...@@ -39,6 +39,12 @@ server { ...@@ -39,6 +39,12 @@ server {
include conf/nginx-lua-headers.conf; include conf/nginx-lua-headers.conf;
} }
location /rules.json {
auth_request off;
allow 127.0.0.0/8;
deny all;
}
# Handle test CGI # Handle test CGI
location ~ \.pl$ { location ~ \.pl$ {
include /etc/nginx/fastcgi_params; include /etc/nginx/fastcgi_params;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment