콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
27722 화면

I installed odoo in amazon EC2 and configured nginX with an elastic IP (public/static). I can access odoo using just my elastic IP address (xx.xx.xxx.xx) without using the 8069 port number. For that I know nginX working properly. 

I have a domain name registered with namecheap and I pointed that to my server IP (elastic IP). but when I try my domain name (domain.xyz) it shows me the default "Welcome ro nginx page" rather than my odoo page.

How can I solve this?

Also I want to use two FQDN (domain.xyz & example1.com) for 2 different odoo database. I know there are options like --db-filter='^%d' for Host name and --db-filter='^%h' for full domain name filtering. but coudnt find any guide for doing it using nginX. How can I achieve this with nginx.


Always appreciates community help.

아바타
취소
베스트 답변

Wow, all this to configure multiple sites?  Come on Odoo, should be configureable and not have to go thru this kludge.

아바타
취소
베스트 답변

Well, using Google with the search terms Odoo and Nginx provides me with 345'000 search results, adding dbfilter as a search term provides me 9890 search results, but maybe your google is broken. A very good guide (which is on the first page of search results) is this one: https://antiun.github.io/odoo-reverse-proxy-howto/ (but please ignore the part about private SSL certificates).

Concerning your issue with showing the nginx welcome page: obviously you did not set up nginx properly (check your vhost and the logs), but without further information nobody can help you.

Concerning the proper setting of dbfilter you may want to study this answer: https://www.odoo.com/forum/help-1/question/odoo-8-0-apache2-how-to-configure-a-proxy-from-an-url-to-a-specific-database-in-a-multi-database-setup-110545#answer-110604


아바타
취소
관련 게시물 답글 화면 활동
2
4월 16
3887
0
3월 15
3664
3
5월 24
22920
0
10월 23
978
1
11월 20
4164