跳至内容
Odoo 菜单
  • 登录
  • 免费试用
  • 应用程序
    财务
    • 会计
    • 发票
    • 费用
    • 电子表格 (BI)
    • 文档
    • 电子签名
    销售
    • 客户关系管理
    • 销售
    • POS 销售点管理-零售
    • POS 销售点管理 - 餐厅
    • 订阅
    • 租赁
    网站
    • 网站设计
    • 电子商务
    • 博客
    • 论坛
    • 在线客服
    • 在线学习
    供应链
    • 库存
    • 制造
    • 产品生命周期
    • 采购
    • 维护保养
    • 品控
    人力资源
    • 员工
    • 招聘
    • 休假
    • 评价
    • 内部推荐
    • 车队
    营销
    • 社媒营销
    • 电邮营销
    • 短信营销
    • 近期活动
    • 营销自动化
    • 网上调查
    服务
    • 项目管理
    • 工时单
    • 现场服务
    • 服务台
    • 排期
    • 预约
    生产力
    • 讨论
    • 批核
    • IoT物联网
    • VoIP
    • 知识库
    • WhatsApp
    第三方应用软件 Odoo 定制 Odoo云端平台
  • 行业
    零售
    • 书店
    • 服装店
    • 家具店
    • 食品杂货店
    • 五金店
    • 玩具店
    餐饮与酒店服务
    • 酒吧及酒馆
    • 餐厅
    • 快餐
    • 民宿
    • 饮品分销商
    • 酒店
    房地产
    • 房地产代理
    • 建筑师事务所
    • 建造业
    • 地产管理
    • 园艺
    • 业主协会
    咨询
    • 会计师事务所
    • Odoo合作伙伴
    • 市场推广公司
    • 律师事务所
    • 人才招聘
    • 审核 & 认证
    制造
    • 纺织
    • 金属
    • 家具
    • 食品
    • 啤酒厂
    • 企业礼品
    保健与健身
    • 体育俱乐部
    • 眼镜店
    • 健身中心
    • 健康从业者
    • 药房
    • 发型屋
    商贸服务
    • 维修人员
    • IT 硬件及支持
    • 太阳能系统
    • 鞋匠
    • 清洁服务
    • 暖通空调服务
    其他
    • 非营利组织
    • 环境机构
    • 广告牌租赁
    • 摄影服务
    • 自行车租赁
    • 软件经销商
    浏览所有行业
  • 社区
    学习
    • 教学视频
    • 文档
    • 认证
    • 培训
    • 博客
    • 播客
    赋能教育
    • 教育计划
    • Scale Up! 商业游戏
    • 参观Odoo
    获取软件
    • 下载
    • 版本对比
    • 发布
    合作
    • Github
    • 论坛
    • 近期活动
    • 翻译
    • 成为合作伙伴
    • 合作伙伴服务
    • 注册您的会计事务所
    获取服务
    • 寻找合作伙伴
    • 查找会计服务
    • 预约顾问咨询
    • 安装及推行服务
    • 客户参考
    • 支持
    • 升级
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    获取演示
  • 定价
  • 技术支持

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • 客户关系管理
  • e-Commerce
  • 会计
  • 库存
  • PoS
  • 项目
  • MRP
All apps
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
帮助

A Guide for setting up Odoo 14 on Windows 10 Professional with the IIS

订阅

此帖文有活动时,接收通知

此问题已终结
setuphowtoreverse_proxywindows10IIS
1 回复
15115 查看
形象
Fabian Fügen

This is a full guide for setting up Odoo 14 under Windows 10 Professional with Microsoft IIS.

1. Windows Professional or Windows Server is required. These instructions apply to Windows 10 Professional.

2.      Activate IIS. There are many instructions on how to do this on the Internet.  https://teckangaroo.com/enable-iis-windows-10/



3     URL Rewrite installieren  https://www.iis.net/downloads/microsoft/url-rewrite

        It is very important not to use "localhost" as a value in the reverse proxy rules, otherwise         various things will not work properly. Instead, http://127.0.0.1:8069 must be used. The           port must match the port you are using for Odoo.


4     Install Application Request Routing https://www.iis.net/downloads/microsoft/application-         request-routing  

5     Connect the domain to your own computer. The best thing to do here is to request a static IP from your provider and then forward the domain accordingly to the IP address of the router. Port forwarding must be set up in the router so that incoming requests are forwarded via port 80 and 443 to the computer on which Odoo is running. Example with the Fritz Box router https://www.cfos.de/en-us/cfos-personal-net/port-forwarding/avm-fritzbox-7490.htm Please  set up the forwarding  for port 80 (http) and for port 443 (https ). Nowadays one should not only work with http, because otherwise the files will not be exchanged in encrypted form, which is a very high security risk. However, this is now well known.



6 Create SSL certificate with https://certifytheweb.com/ You can find extensive instructions here to edit the bindings in the IIS.



7    Edit IIS bindings.  https://www.ssl.com/how-to/binding-in-iis-10/


8    Redirect http to https 

https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https/

9    Create reverse proxy rules in the ISS https://shyju.wordpress.com/2019/04/10/enable-iis-redirect-and-https-for-odoo-on-windows-server/ 

Activate the following values ​​under "Synchronize content": A, Form, Frame, IFrame, Img

It works fine for me without activating more values, but it may be possible to activate further. However, there are also problems if you activate the wrong values.


10.    Create the second "Outgoing Rule".


Pattern: & lt; iframe src = & quot; http://127.0.0.1:8069

Value: & lt; iframe src = & quot; https://yourdomain.com/

Then replace "Yourdomain" with your own domain address.


This specific IFrame is not covered by the normal rule, which in my opinion should be improved in the Odoo code so that the second rule is not needed. If you don´t do this, there will be a Problem in the Elearnig modul wich is also described here:       https://www.odoo.com/de_DE/forum/hilfe-1/odoo-14-elearning-iframe-address-of-the-content-wrong-localhost-8069-instead-of-the-url-of-my-domain-195119


11    Make Odoo web address static. You still have to change the web address within Odoo and make it static so that it does not always automatically reset itself to http: // localhost: 8069. This is important so that links that are to be shared also get the correct link address that points to the correct domain.

 

a    Activate developer mode as administrator via Settings and activate at the bottom of the page.

b    Open the settings again

c    Open technical parameters system parameters in the top line

d    Create a new value: "web.base.url.freeze" and enter "True" or "1" as the value without the quotation marks

e    Now adjust the URL of the page under "web.base.url" (the default value is currently //localhost:8069). Important! Do not insert a slash “/” at the end of the URL. Otherwise problems arise:


Key: web.base.url

Value: https://yourdomain.com 


(replace Yourdomain with your own address)


f    Now save

g    After logging out and logging in again, check whether the URL under "web.base.url" remains the same. Here are also instructions:

https://www.odoo.com/de_DE/forum/hilfe-1/web-base-url-automatic-reset-31937


12 Look also here for more informations https://www\\.odoo\\.com/documentation/14\\.0/administration/install/deploy\\.html 

13 \ Look\ here\ for\ the\ security\ settings\ settings https://www.odoo.com/documentation/14.0/administration/install/deploy.html

14 In particular, the "proxy_mode" should be activated in Odoo when a reverse proxy is running. You can find the file in the installation folder under "Programs - Odoo Installation Folder - Server" Open the odoo.conf file with an editor such as Note ++ and set the value proxy_mode to True. Save and restart the server.


If something is not working properly or you have questions, just send a comment.


0
形象
丢弃
Sehrish

Good effort..

Mani

https://shyju.wordpress.com/2019/04/10/enable-iis-redirect-and-https-for-odoo-on-windows-server/ hope its not redirecting in top

Fabian Fügen
编写者

See step 3 in the descrition above, you have to use:  http://127.0.0.1:8069 insted of http://localhost. The descrition under this link was not realy working for me but the code at the end of this site looks correct:  https://shyju.wordpress.com/2019/04/10/enable-iis-redirect-and-https-for-odoo-on-windows-server/ 

In the end, however, I switched to linux. I recommend using nginx as web server on windows. The setup should be identical to Linux and it is much easier to implement. There are also a lot of guides online for Nginx. 

However, I haven't tested it on windows with nginx but it makes a lot more sense.


形象
Alen
最佳答案

Thank you. I have one problem with that configuration.When I use 8069 http port on both side with two account, chat works.
But when I use proxy reverse with or without SSL.. I do not received messages in chat.

0
形象
丢弃
Fabian Fügen
编写者

Hi Alen. I need some more information to help. Please note that there is a different port for the chat. You can see this in the NGINX configuration, you need to forward two ports to make it work. I recommend to use NGINX under Windows too, which I haven't tested yet but the setup is much easier in NGINX. There is also much more information available and NGIX is both fast and secure. You can find the basic setup for NGINX here:

https://www.odoo.com/documentation/14.0/administration/install/deploy.html

In this NGINX configuration, you can also see the second port which has to be forwarded for the chat, to work:

#odoo server
upstream odoo {
server 127.0.0.1:8069;
}
upstream odoochat {
server 127.0.0.1:8072;
}

Alen

Hi Fabian,

 

Yes thank you.. I removed IIS already and configure reverse proxy with Caddyserver on windows.. Everything work fine now!

 

 

Thank you..

 

 

Alen Antolković, direktor

+385 91 60 40 457

 

A2 IT d.o.o.

PRODAJA I URED: Zagrebačka ul. 43  I 10380 Sveti Ivan Zelina I Croatia

TEL: +385 1 4813 957

OIB: HR26641160014

M: info@a2it.hr  I   W: www.a2it.hr

 

 


IZJAVA O ODRICANJU ODGOVORNOSTI: Ova poruka elektroničke pošte, kao i svi privitci, može sadržavati povjerljive i/ili zakonski povlaštene informacije koje su namijenjene isključivo naznačenom(im) primatelju(ima). Ako ste ovu poruku primili greškom, odmah obavijestite pošiljatelja, a poruku kao i sve njezine kopije i privitke odmah i bez tiskanja, čitanja ili kopiranja trajno obrišite s računalnog sustava. Osim primatelju, strogo je zabranjena svaka uporaba, distribucija ili kopiranje ove poruke. Primatelj treba provjeriti ovu poruku e-pošte i sve privitke na zlonamjerne programe koji se mogu nalaziti u e-pošti usprkos implementiranim kontrolama.

 

DISCLAIMER: This e-mail, and any attachments, may contain confidential, and/or legally privileged information, and is intended solely for use only of the named addressee(s). If you have received this e-mail in error, please notify the sender immediately, and permanently delete the original and any copies of this e-mail, and any attachments, without printing, reading or copying them. Any use, distribution, or copying of this e-mail other than by the inteded recipient is strictly prohibited. The recipient should check this e-mail and any attachments against malicious code potentially transmitted by this e-mail despite implemented controls.

 

From: FabianF <notifications@mail.odoo.com>
Sent: Wednesday, February 8, 2023 3:28 PM
To: Alen Antolković I A2 IT <alen@a2it.hr>
Subject: Re: A Guide for setting up Odoo 14 on Windows 10 Professional with the IIS

 

Hi Alen. I need some more information to help. Please note that there is a different port for the chat. You can see this in the NGINX configuration, you need to forward two ports to [...] ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

Odoo S.A.


Forumsbeitrag ansehen

  

A Guide for setting up Odoo 14 on Windows 10 Professional with the IIS

  


Hi Alen. I need some more information to help. Please note that there is a different port for the chat. You can see this in the NGINX configuration, you need to forward two ports to make it work. I recommend to use NGINX under Windows too, which I haven't tested yet but the setup is much easier in NGINX. There is also much more information available and NGIX is both fast and secure. You can find the basic setup for NGINX here:

https://www.odoo.com/documentation/14.0/administration/install/deploy.html

In this NGINX configuration, you can also see the second port which has to be forwarded for the chat, to work:

#odoo server
upstream odoo {
server 127.0.0.1:8069;
}
upstream odoochat {
server 127.0.0.1:8072;
}


Odoo S.A.

+32 81 81 37 00 | info@odoo.com | https://www.odoo.com

Powered by Odoo

喜欢讨论吗?不要只阅读,加入进来!

立即创建账户,享受专属功能,与我们的精彩社区互动!

注册
相关帖文 回复 查看 活动
How to setup one-time payslip
setup payslip howto
形象
0
4月 25
1202
How to RTL panels and change fonts for Persian and Arabic in Odoo Community
setup
形象
形象
形象
2
11月 25
1365
Timeout waiting for ioT box to respond ( issue ) Help please!
setup
形象
0
8月 25
1217
Epson server direct print not found,the printer is not reachable. 已解决
setup
形象
1
8月 25
2289
expected duration
setup
形象
0
7月 25
1213
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • Github
  • Runbot
  • 翻译
服务
  • Odoo.sh 托管
  • 支持
  • 升级
  • 自定义开发服务
  • 教育
  • 查找会计服务
  • 寻找合作伙伴
  • 成为合作伙伴
关于我们
  • 我们的公司
  • 品牌资产
  • 联系我们
  • 招聘
  • 近期活动
  • 播客
  • 博客
  • 客户
  • 法律 • 隐私
  • 安全
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo致力于为企业管理提供高效智能的开源解决方案,是全球业内高速成长的软件服务商之一,逾七百五十万用户选择Odoo进行数字化升级。通过一系列全业务链覆盖、高度集成、简单易用的商业应用,助力企业实现信息化改革、降本增效并释放公司增长潜力。

Odoo独特的价值在于是一款非常容易使用又完全集成的应用。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now