跳至内容
菜单
此问题已终结
1 回复
5305 查看

A small concern for access to my websites. 


If I type in the address this format www.adressedusite.fr, jarrive on the good website, everything is ok.
But on the other hand, if I type amidusite.fr without the www, I come across the first website I get this result on the other website. 

I forgot a configuration? Is this a known problem?

形象
丢弃

If you are using same config to redirect all domains to Odoo then it will work as you described as in Odoo you can set only one website address per page.

The easiest solution would be to set redirects in nginx adressedusite.fr ->www.adressedusite.fr

最佳答案

You should use a proper reverse proxy server, such as nginx, Apache or others. The easiest to setup and configure in my opinion is Caddy Server, www.caddyserver.com. 

形象
丢弃
编写者

yes effectively, I use Nginx with a Reverse Proxy. Where is the error?

编写者

no configuration to do more in odoo? do you have a complete tutorial on the subject?

Use Google, there are some good tutorials around for setting up Odoo with nginx (and others). According to Google's recommendation for SEO best practices, you should permanently redirect domain.com to www.domain.com anyway.

相关帖文 回复 查看 活动
0
3月 23
1677
1
3月 15
3544
5
8月 25
9747
2
7月 25
915
4
6月 25
1027