restrict garage admin api to home ip
This commit is contained in:
1 parent
9f9882cdda
commit
cce91c0aca
1 file changed
+5
@@ -25,6 +25,11 @@ server {
|
|||||||
include /etc/nginx/conf.d/security-headers.inc;
|
include /etc/nginx/conf.d/security-headers.inc;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
# restrict to argento (home IP)
|
||||||
|
# update if IP changes: dig +short argento.ddns.net
|
||||||
|
allow 173.79.207.76;
|
||||||
|
deny all;
|
||||||
|
|
||||||
proxy_pass http://garage:3903;
|
proxy_pass http://garage:3903;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user