Hello there,
I managed to configure nginx to work on SSL with my self-signed certificate.
https://odoo.lapagept.com works well in browser.
http://odoo.lapagept.com is well redirected to https://odoo.lapagept.com.
The only problem I have for this moment is when I want to access my odoo directly with an IP like 209.54.66.15:8069.
I have put this code in nginx to redirect request from port 8069 to my ssl address :
server {
listen 209.54.66.15:8069;
server_name 209.54.66.15;
rewrite ^/(.*)$ https://odoo.lapagept.com/$1 permanent;
}
But as soon as this line is in my openerp-server.conf, nginx fails to start.
xmlrpc_interface = 127.0.0.1
If I stop odoo server, nginx can start.
If I remove the line "xmlrpc_interface = 127.0.0.1", nginx can start.
What should I do?
I would want to access my odoo also by ip address.