fyi, these were the changes i needed to make:
1. Pyramid - Enable Paste Prefix Middleware
[app:main]
filter-with = proxy-prefix
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
2. Nginx - Ensure proper headers
location / {
# Configure Proxy Pass
proxy_pass http://127.0.0.1:5010;
# Set headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.