Closed ericmachine88 closed 10 years ago
I use a lot erppeek with Nginx and HTTPS. There's no issue.
Either on the command line:
erppeek --server https://myerpdomain.com
Or in the erppeek.ini
file:
[demo]
scheme = https
host = myerpdomain.com
port = 443
database = demo
username = joe
[DEFAULT]
host = localhost
port = 8069
Then connect to the declared environment:
erppeek --env demo
nice :) tested this and it works :)
another question
what if we are on nginx but no HTTPS. Can't access 8069 directly.
when go to http://myerpdomain.com and in nginx, it would call proxy_pass http://127.0.0.1:8069.
Any tips? Thanks.
if you put scheme = http
in the configuration, with the right port 80, it should connect.
nice :) it works :)
This is an indeed a good library :)
But I have 2 problems.
a) Right now, all my openerp is running behind nginx.
example,
http://myerpdomain.com
instead of
http://myerpdomain.com:8069 (i don't want people to access this).
What should I do to make this work?
b) What if all my sites are behind HTTPS too? What would be the recommended settings?
Hopefully the above 2 are supported. Thanks.