Odoo Help

1

How to keep the IP:8069/web/database/manager#action=database_manager behind the password

By
Zinat Rasooli Mavini
on 7/20/16, 4:45 AM 527 views

 Using nginx url authentication, I was able to keep the IP behind the password, but IP:port and generally "IP:8069/web/database/manager#action=database_manager behind the password" is not following the authentication settings and is open to public. How to fix this?

upstream odoo {

server myIP:8069;

}

server {

listen 80 ;

server_name myIP;

auth_basic "Restricted";

auth_basic_user_file /path/.htpasswd;

 

location / {

 

proxy_pass http://odoo/;

proxy_http_version 1.1;

proxy_set_header Host $http_host;

proxy_set_header Upgrade $http_upgrade;

proxy_set_header Connection "upgrade";

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forward-Proto http;

proxy_set_header Authorization "Basic 0JR3BoaW5pXYzdiZy4NicTRKdmVzdDoxZS";

proxy_set_header X-Nginx-Proxy true;

proxy_redirect off;

}

}

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/20/16, 4:45 AM
Seen: 527 times
Last updated: 7/20/16, 5:56 AM