#Remix losing HTTPS over nginx reverse_proxy

1 messages · Page 1 of 1 (latest)

round chasm
#

Hi, I'm having given issue:

I serve my remix app through remix-serve (via pm2) on one server, on port 3000,
On second server, i reverse_proxy first_server:3000 so my app is available on mydomain.com/app
And apps load in web browser as https, through certificate on mydomain.com. But any request done internally by remix loses https from address, leaving me with the same address as before, just with http://. Any request.url shows with http.

desert jacinth
#

When remix send back to the reverse proxy the pay should be encrypting and sending out the information, but remix should only be exposing itself internally if this is your setup to ensure the proxy is the only way your app is going out the world