Odoo Help

Welcome!

This community 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.

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 257 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;

}

}

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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