Commit 5f03aaab authored by Jean-Marc Le Roux's avatar Jean-Marc Le Roux

Deny access to the GitLab API from the reverse-proxy.

parent 4d689bf6
......@@ -46,6 +46,10 @@
ProxyPass http://127.0.0.1:8000/admin/ keepalive=off retry=0
ProxyPassReverse http://127.0.0.1:8000/admin/
</Location>
<Location "/admin/api/*">
Order deny,allow
Deny from all
</Location>
<Location "/api">
ProxyPass http://127.0.0.1:3001/api keepalive=off retry=0
......
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