github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/base-url/nginx.conf (about)

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