Troubleshooting 403 Errors with Load Balancer Configuration for Multiple Postal Console Domains #3227
-
Hello everyone, I have deployed two instances of Postal and configured the following domains:
To manage traffic, I set up a load balancer that routes requests for Here is my current Nginx configuration for console.postal.com:
This is the nginx log:
How can I resolve the 403 Forbidden error when accessing the Postal web interface through the load balancer? or Any guidance or suggestions would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think that Rails, the underlying framework, is quite strict about which hostnames it answers to. What did you set for |
Beta Was this translation helpful? Give feedback.
-
I fixed this problem with Nginx configuration. I added these two lines: |
Beta Was this translation helpful? Give feedback.
I fixed this problem with Nginx configuration. I added these two lines:
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;