r/v-m-nginx: Prevent requesting reload
Remote systems should not be able to trigger a reload of the services behind the reverse proxy.
This commit is contained in:
@@ -7,6 +7,10 @@ server {
|
|||||||
proxy_pass http://[::1]:8428/;
|
proxy_pass http://[::1]:8428/;
|
||||||
client_max_body_size 100m;
|
client_max_body_size 100m;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /-/reload {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
{% for item in vm_nginx_proxy_paths %}
|
{% for item in vm_nginx_proxy_paths %}
|
||||||
|
|
||||||
location {{ item.path }} {
|
location {{ item.path }} {
|
||||||
|
|||||||
Reference in New Issue
Block a user