Odoo 10 enterprise, unbuntu 16.04LTS, and nginx.
I've added the following code to the server block, but it is still allowing access to /web/database/manager. I've tried the dbrestrict addon, but it doesn't accept any password that i've set, which I assume is because it is set for odoo 8. I like that option better than the location restriction.
server {
listen 80;
listen [::]:80;
server_name completerespite.com www.completerespite.com;
rewrite ^(.*) https://$host$1 permanent;
location ~ ^/web/database/(manager|selector) {
allow 1.2.3.4;
deny all;
}
}
What am I doing wrong. Spend the past day going through every google return, odoo forum, and nginx forum.
thanks,
Dave