-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
When dappnode is accessible via both legacy ip (ipv4) and ip (ipv6), nginx returns forbidden error when accessed
The nginx.conf only enables local legacy ip subnet resulting in forbidden due to deny all
server {
server_name dappnode.local;
listen 80;
resolver 172.33.1.2;
allow 192.168.X.X/24;
deny all;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://my.dappnode;
}
}
https://github.com/dappnode/DNP_HTTPS/blob/master/fs_overlay/var/lib/nginx-conf/nginx.conf.erb#L120
Metadata
Metadata
Assignees
Labels
No labels