path-normalization-bypasses/nginx.conf

21 lines
274 B
Nginx Configuration File

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