events { worker_connections 1024; } http { server { listen 80; server_name example.com; location = /admin { deny all; } location / { proxy_pass http://host.docker.internal:5000; } } }