跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • 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 回覆
15113 瀏覽次數
頭像
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 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة 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 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

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