OS Name/Version: Both servers are using Debian 10.9 Buster
Product Name/Version: Amp 126.96.36.199
Background: I have nginx running on one server and AMP running on another. The nginx server accepts traffic on port 80 and 443 from the internet, and I have it configured to act as a reverse proxy for AMP.
I would like to avoid using "https://mydomain.com" for AMP (which I have done in the past and worked fine). Instead, I would like to use "https://mydomain.com/amp". I have the nginx location set up for "/amp", and I confirmed that the main AMP page actually works fine. Browsing to "https://mydomain.com/amp" brings me to the main AMP page, I can log in, view/create instances, etc.
Problem Description: However, when I try to click "Manage" for an instance, nothing actually happens. If I look at the browser console, and I can see that it first browses to
and then it browses to
On that second call, since it's not including the "/amp" endpoint, it's browsing to my reverse proxy and not reaching AMP.
Actions taken to resolve so far:
- Confirmed that I can manage the instance if I do not use the custom endpoint (specify "/" as the location in the nginx site instead of "/amp/").
- Tried adding "/amp/" to the auth server values of the AMPConfig.conf (did not resolve, reverted).
- Tried finding an answer on Google, but I couldn't find anyone else running into this issue.
Final Questions: Is using a custom endpoint in this manner supported with AMP? If so, is there any documentation for setting this up properly?