Is there an easy way to make my Odoo domain SSL-encrypted automatically using Let's Encrypt Certificates (https://letsencrypt.org/)?
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ờ
Referring to my older post on Caddy Server < 2.0 (https://www.odoo.com/forum/help-1/question/caddy-server-reverse-proxy-how-to-configure-virtual-hosts-for-odoo-146789) here is an update for Caddy Server Version 2 (https://caddyserver.com/):
Prerequisites:
Set-up and deploy Caddy Server according to your preferences, preferably on a dedicated server.
Set "proxy_mode = True" in your odoo.conf file and use the appropriate dbfilter setting if necessary.
Configuration:
Create your Caddyfile (vhost configuration) like this:
example.com { #only if you like to redirect to www.example.com redir https://www.example.com{uri} } www.example.com { reverse_proxy http://xxx.xxx.xxx.xxx:8069 { header_up X-Forwarded-Proto https header_up X-Forwarded-Host {host} header_up X-Url-Scheme {scheme} header_up X-Real-IP {remote} }
reverse_proxy /longpolling/* http://xxx.xxx.xxx.xxx:8072 { # in case you use it
}
encode gzip zstd file_server log }
Hi, how do you handle longpolling?
Based on the directives for Caddy < 2.0, as referred to in my linked old post, check my amended answer. I have no experience yet using the longpolling port, so it could be that you maybe need some additional headers, but I do not believe so.
Longpolling works as described in my answer.
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 5 23
|
2006 | ||
|
3
thg 3 24
|
4552 | ||
|
2
thg 12 23
|
26027 | ||
|
0
thg 3 20
|
5 | ||
|
1
thg 6 22
|
9517 |