Commit 204d2a4e authored by Yadd's avatar Yadd
Browse files

Add some DevOps entries in test conf

parent 77a558e1
......@@ -408,6 +408,7 @@ prepare_test_server:
@cp -f $(SRCMANAGERDIR)/site/htdocs/manager* e2e-tests/conf/manager
@cp -f $(SRCPORTALDIR)/site/htdocs/index* e2e-tests/conf/portal
@cp e2e-tests/saml-sp.xml e2e-tests/conf/site/saml-sp.xml
@cp e2e-tests/rules.json e2e-tests/conf/site/test.json
@for f in $$(find e2e-tests/conf -name '*.fcgi'); do \
perl -i -pe 'if($$.==2){print "BEGIN{\n"; print qq(use lib q('`pwd`'/lemonldap-ng-$$_/blib/lib);\n) foreach qw(common handler portal manager); print "}\n"; }' $$f; \
......@@ -9,6 +9,8 @@ server {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:__pwd__/e2e-tests/conf/llng-fastcgi.sock;
#fastcgi_param RULES_URL "";
#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;
deny all;
location /rules.json {
auth_request off;
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