Question - App Proxy
-
J joseph marked this topic as a question on
-
Hi Joseph,
We are using an app proxy to access the on-prem applications. The upstream URL is http://192.168.88.130:8069; however, we do need to allow one more port, which is 8072, and we are not sure how to do it. The application vendor provided the following configuration for the nginx reverse proxy for reference
Redirect websocket requests to odoo gevent port
location /websocket {
proxy_pass http://odoochat;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; proxy_cookie_flags session_id samesite=lax secure; # requires nginx 1.19.8}
Redirect requests to odoo backend server
location / {
# Add Headers for odoo proxy mode
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_pass http://odoo;add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; proxy_cookie_flags session_id samesite=lax secure; # requires nginx 1.19.8}
-
Adding to above, here is the documentation
https://www.odoo.com/documentation/17.0/administration/on_premise/deploy.html#https -
-
J joseph has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login