Hi,

maybe the reverse proxy allowing to access your app from the internet
doesn't set the appropriate headers (X-Forwarded-For, X-Forwarded-Proto,
X-Real-IP)

Here the example of an nginx configuration :
http://pyramid-cookbook.readthedocs.org/en/latest/deployment/nginx.html

Regards


Le 28/12/2014 21:03, Maxime Bellier a écrit :
> Hi !
>
> After searching for hours, I decide to contact you all to understand
> how to generate the URL of my Pyramid site.
>
> Indeed, all my route ( / ; /view ; /edit ) generates URL like :
> 192.168.XXX.XXX/view etc... 
>
> How I configure thoses URL to be like http://www.example.com/view ?
>
> Cause my site is working on a local network but accessing it from the
> net outside of this network make 404 errors.
> -- 
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to