Skip to content

Commit

Permalink
expose pprof in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy5189 committed Sep 27, 2024
1 parent c5aaba5 commit 1b2587b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions supporting-containers/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ http {
server_name localhost www.localhost;
proxy_set_header Host $host;

location /debug/pprof {
proxy_pass http://127.0.0.1:8081/debug/pprof;
}

location /wp-admin/ {
set $loc_in "pass_prot";
set $deflect_session "$upstream_http_x_deflect_session";
Expand Down

0 comments on commit 1b2587b

Please sign in to comment.