Hi,
we started Odoo 15 this time with the classic Odoo modules, but also with the website app. Now if you go with the standard url, the system routes you to the website.
For specific reason, I would like to have a subdomain, for eg. crm.mydomain.com, which routes mit directly to the loginpage of Odoo (/web/login).
I struggeld with a lot of nginx and odoo documentations, but i'm still not successful. Does anybody now how to route a subdomain in nginx together with Odoo to a specific route?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
2
Trả lời
6017
Lượt xem
Add this server block along with the existing server block in your site's Nginx config file:-
server {
listen 80;
listen [::]:80;
server_name crm.mydomain.com;
return 301 https://mydomain.com/web/login$request_uri;
}
The existing server block may be something like this:-
server {
listen 80;
listen [::]:80;
server_name mydomain.com;
rewrite ^(.*) https://$host$1 permanent;
}
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 10 23
|
978 | ||
|
2
thg 5 24
|
7261 | ||
|
1
thg 1 23
|
5342 | ||
|
0
thg 8 21
|
4414 | ||
|
1
thg 1 24
|
13003 |
Odoo has more than 7 Mio Users. Can it really be, that nobody uses a subdomain to direct to the loginpage?
Check below link :
https://www.youtube.com/watch?v=ilj0YS4Or6M
Thx for the reply. But these are the normal basic routing settings. The routing (only) from the subdomain https://crm.mydomain.com to https://crm.mydomain.com/web/login cannot be implemented in this way.