With Nginx getting CORS issue when I click to add/edit or delete a tracking domain. #2893
-
If I access the server at http://mail03.mydomain.com:5000 everything works, but if I do https://mail03.mydomain.com, everything seems to work, until I go to add/edit/delete a tracking domain. When it posts, the network response is "Unprocessable Entity". I'm not sure what's wrong. Looking at the log, this appears to be a CORS style issue: My nginx config is:
My postal.yml has:
I can post more, but I've already had to mask the domain, I can post more if I need to. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To answer my own question, once I knew it was a CORS error I tried adding: |
Beta Was this translation helpful? Give feedback.
To answer my own question, once I knew it was a CORS error I tried adding:
X-Forwarded-Proto https;
to the nginx configuration and it worked!