github.com/grafana/pyroscope@v1.18.0/scripts/base-url/nginx.conf (about)

     1  events {}
     2  http {
     3      server {
     4          listen 8080;
     5  
     6          location /foobar/ {
     7              rewrite /foobar(.*) $1 break;
     8              proxy_pass http://docker-host:4040;
     9          }
    10      }
    11  }