server {
    listen 80;

    location = / {
        return 200;
    }

    location ~ /plan/(.*) {
        resolver 127.0.0.11;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_pass http://host.docker.internal:9001/$1$is_args$args;
    }
}