restrict garage admin api to home ip
This commit is contained in:
@@ -25,6 +25,11 @@ server {
|
||||
include /etc/nginx/conf.d/security-headers.inc;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user