r/v-m-nginx: Prevent requesting reload
Remote systems should not be able to trigger a reload of the services behind the reverse proxy.btop
parent
ce3e88932d
commit
1f04813879
|
@ -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 }} {
|
||||||
|
|
Loading…
Reference in New Issue