Skip to Content
Menu
This question has been flagged
2 Replies
27246 Views

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.

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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


Avatar
Discard
Related Posts Replies Views Activity
2
Apr 16
3535
0
Mar 15
3428
3
May 24
22161
0
Oct 23
978
1
Nov 20
3618