I am trying to run Jira locally via atlas-run/atlas-debug and expose it via ngrok to the internet (HTTPS). If I just do atlas-run I get a bunch of
[c.a.p.r.c.security.jersey.XsrfResourceFilter] Additional XSRF checks failed for request logs which, as far as I understand, are an effect of Tomcat not knowing about the ngrok proxy.
Basically, I want this, where Apache is ngrok proxy:
How can I configure connector in server.xml for atlas-run?
Tried to configure default connector in
target/container/tomcat8x/cargo-jira-home/conf/server.xml to add
proxyPort and change scheme to
https. The problem here is that this config gets overridden with the default connector when I do
Any help/hints or links to some secret hidden docs or community post that I didn’t manage to google yet would be appreciated.