<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Travis,<br>
    </p>
    <p>Thank you. I was so focused on the baseurl keyword that I didn't
      realize the deployment section would have this information. It
      seems I missed the X-Script-Name header.<br>
    </p>
    <p>"X-Script-Name – path of MapProxy when the URL is not / (e.g.
      /mapproxy)"<br>
    </p>
    <div class="moz-cite-prefix">On 29/3/2567 20:43, Travis Kirstine
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALtm4h0dT_5dPbkmJjn6SAVOveaoKN68J55g__8bVh6aO1mhUw@mail.gmail.com">
      <div dir="ltr">Doesn't the method described in the docs accomplish
        this?
        <div><a
href="https://mapproxy.github.io/mapproxy/latest/deployment.html#nginx">https://mapproxy.github.io/mapproxy/latest/deployment.html#nginx</a><br>
        </div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
          <div>
            <div>        location /mapproxy {<br>
                          proxy_pass <a
href="http://127.0.0.1:8080/">http://127.0.0.1:8080</a>;<br>
                          proxy_set_header Host $http_host;<br>
                          proxy_set_header X-Script-Name /mapproxy;<br>
                      }<br>
            </div>
          </div>
        </div>
        <div><br>
        </div>
        <div>Results in</div>
        <div><a
href="http://foobar.com/mapproxy/tms/1.0.0/.......">http://foobar.com/mapproxy/tms/1.0.0/.......</a>..</div>
        <div><br>
        </div>
      </div>
      <br>
    </blockquote>
  </body>
</html>