Hi, I’m trying to set up a IPFS read-only gateway on Docker.
I’m using the official guide + official Docker images:
docker run --detach --restart=always \
--name ipfs_host \
-e IPFS_PROFILE=server \
-v /data/ipfs/staging:/export \
-v /data/ipfs/data:/data/ipfs \
-p 4001:4001 \
-p 80:8080 \
ipfs/go-ipfs:latest
docker exec ipfs_host ipfs config --json Gateway.PublicGateways '{
"ipfs.example.com": {
"UseSubdomains": false,
"Paths": ["/ipfs"]
}
}'
docker exec ipfs_host ipfs config --json Gateway.NoDNSLink true
Before I set up a nginx proxy, I’d like to debug it first, using direct connection on port 80.
My problem is that the config Gateway.PublicGateways
doesn’t seem to have any effect. For example I can access the /ipns
path, even though I’ve removed it. So I think I’m probably missing something.
Is there a way to see request level debug logs and see how is a given request handled?