Skip to content

Commit f61b08f

Browse files
author
Jonathan Thurman
committed
Fix test config to allow POST (requred for tests)
1 parent 9aff3f9 commit f61b08f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docker/test.conf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ server {
1010
}
1111

1212
location /api {
13-
limit_except GET {
14-
allow 172.0.0.0/8;
15-
deny all;
16-
}
1713
api write=on;
14+
allow 127.0.0.1;
15+
deny all;
1816
}
1917

2018
location /test {
2119
proxy_pass http://test;
2220
health_check interval=10 fails=3 passes=1;
2321
}
2422
status_zone test;
25-
}
23+
}

0 commit comments

Comments
 (0)