Nextjs docker based deployment
Unanswered
Landseer posted this in #help-forum
LandseerOP
When i access the request.Url or request.Origin properties, I get 0.0.0.0 instead of mysite.com
This was working fine when i had the deployment on vercel. What could be the issue?
This was working fine when i had the deployment on vercel. What could be the issue?
5 Replies
You probably haven't got it behind. reverse proxy or it hasn't been setup corrrectly., can you show us your nginx config?
@Diamond Master maybe it's behind a reverse proxy?
LandseerOP
I have the app behind a cloudfront distribution. Could that be the issue?
@adam.birds You probably haven't got it behind. reverse proxy or it hasn't been setup corrrectly., can you show us your nginx config?
LandseerOP
no nginx for the time being since im already using cloudfront