kathelia.dokguOriginal post
Rank 3: Container
On my self-hosted Appwrite that is behind Nginx Proxy Manager (NPM), I have a line that says accept headers from trusted IP address (NPM IP address):
YAML
... --entrypoints.appwrite_web.forwardedHeaders.trustedIPs=172.22.0.2 --entrypoints.appwrite_websecure.forwardedHeaders.trustedIPs=172.22.0.2...This IP however changes when I restart my server. Is it possible to just specify a wildcard instead? Let's say --entrypoints.appwrite_websecure.forwardedHeaders.trustedIPs=172.22.0.*
Summary
You cannot specify a wildcard for the IP address in the `docker-compose.override.yml` file. However, there are alternative solutions. Instead of specifying a specific IP address, you can use subnet masks or trust all IPs.
For example, you can use `--entrypoints.appwrite_web.forwardedHeaders.trustedIPs=172.22.0.0/24` to allow any IP address within the `172.22.0` subnet.
Alternatively, you can trust all IP addresses by using `--entrypoints.appwrite_web.forwardedHeaders.trustedIPs=0.0.0.0/0`. This allows