[精讚] [會員登入]
1097

IIS10設定url rewrite to https

if you setup url rewrite function in IIS10, might cause api callback failed

分享此文連結 //n.sfs.tw/13164

分享連結 IIS10設定url rewrite to https@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2019-10-24 09:49:24 最後編修
2019-03-13 14:27:13 By jung
 

為了讓更改密碼的程式能放到外網執行,於是開始研究如何在IIS上新增let's encrypt免費憑證

可參考下列網站

http://my01info.blogspot.com/2017/09/iislets-encrypt-ssl.html

然後設完後很開心想說可以如linux一樣設個url rewrite把所有http的連線都轉到https

結果卻不是這樣,一旦設了url rewrite會把api回傳的資料都丟到https結果變成無法更改密碼了~哭哭

所以只能靠防火牆擋掉到iis 80 port的連線~

相關設定可以參考這篇

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

還有IIS設定網址繫結的意思也跟dns紀錄的意思不同,我設了結果變成用domain可以連線,用ip卻不行了?!

目前還是暫時沒設

看來還要請教高人,基本上只要dns 正反解設定正確就能用網址連線了

 

 

END

你可能感興趣的文章

在windows server建立radius服務使用active directory帳號驗證 setup windows server to add radius service using active directory accounts for authentication

在ESXI6.7修改系統時間 how to modify esxi system time setting for good

centos7 apache ssl.conf設定狀況 在apache更新或重啟後可能遇到ssl.conf衝突問題

how to add physical disks into HP smart array through esxi interface 如何在磁碟陣列卡上加入新的硬碟-未完待續

JIRA using gmail as smtp outgoing mail sender 如何設定jira使用gmail信箱送信

如何在ubuntu 18.04上設定一開機就啟動virtualbox某個vm a way to setup ubuntu18.04 for start vm on boot

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

縣市端IdP新增自訂首頁內容功能 合併本部主程式,手動於mongo內新增管理使用者資料

更新IDP程式以新增及修正本地管理帳號登入 add locallogin page and function with local authorized account

如何在ubuntu 18.04上設定一開機就啟動virtualbox某個vm a way to setup ubuntu18.04 for start vm on boot

在IDEA從JDK8升級到JDK11遇到的奇怪問題 在IDEA遇到的JAVA11函式庫引入問題

ubuntu18.04網路設定無法啟動問題 network connection failed due to networkmanager settings