Hi.
I have run sentry in docker. Configured a nginx proxy on the host sentry.local . Everything is working.
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_pass http://localhost:9000;
}
But I need to add a prefix to my main domain. So that the sentry was like this url: http://sentry.local/stat/
Changing the parameter system.url-prefix didn’t help.
All the same, requests are often sent to url without a prefix, for example /api/0/organizations/sentry/projects/?all_projects=1&collapse=latestDeploys and other request to the api and static files.
Can you please tell me if it is possible to have url in such a form as I want ?