跳至內容
選單
此問題已被標幟
2 回覆
27468 瀏覽次數

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
3732
0
3月 15
3536
3
5月 24
22537
0
10月 23
978
1
11月 20
3919