Introduction
We are using a cross-platform web password manager, and this manager is deployed in our own on promised cloud. Although it supports Dropbox, Google Drive, One Drive, our network does not allow them. So, the issue comes, the data file need be stored somewhere in the network. Then the only choice left is WebDAV.
Some IssuesThis password manager requires SSL.
Web serving involves HTTP response configuration.
The data file is not common type.
Add Web Server (IIS) server role and install the following additional feature
WebDAV Publishing
Centrailized SSL Certificate Support
Goto IIS Manager
Open Server Certificates
Click Create Self-Signed Certificate
Select Web Hosting for the certificate store
Enable SSLGoto the site
Click Bindings
Add a new site binding with type https, select the SSL certificate just created.
WebDAV AuthorizationGoto the site
Open WebDAV Authoring Rules
Add new rule as you prefer
Serve Uncommon FileGoto the site
Open MIME Types
Add new entry with the file extension and tyope application/octet-stream
Optional HTTP Response Headers ConfigurationAdd Access-Control-Allow-Origin with value * to solve "No Access-Control-Allow-Origin header is present Or Working With Cross Origin Request".
Add Access-Control-Allow-Headers with value Content-Type to solve "Request header field Access-Control-Allow-Headers is not allowed by Access-Control-Allow-Headers in preflight response".
For me, I need to add another value Cache-Control for Access-Control-Allow-Headers as required by the password manager.
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/yun/61595.html
原文地址:https://www.digitalocean.com/... 另一种直接使用nginx配置文件的方案:http://www.cambus.net/log-rot... Logging in Nginx One of the easiest ways to save yourself trouble with your web server is to configure appro...
摘要:网站性能压力测试是性能调优过程中必不可少的一环。对请求附加一个行。对一个中转代理提供认证信任。设置属性的字符串缺陷程序中有各种静态声明的固定长度的缓冲区。注本文为转载原文地址总结性能压力测试工具之相关文章网站性能测试使用教程 网站性能压力测试是性能调优过程中必不可少的一环。只有让服务器处在高压情况下才能真正体现出各种设置所暴露的问题。Apache中有个自带的,名为ab的程序,可以对Ap...
摘要:网站性能压力测试是性能调优过程中必不可少的一环。对请求附加一个行。对一个中转代理提供认证信任。设置属性的字符串缺陷程序中有各种静态声明的固定长度的缓冲区。注本文为转载原文地址总结性能压力测试工具之相关文章网站性能测试使用教程 网站性能压力测试是性能调优过程中必不可少的一环。只有让服务器处在高压情况下才能真正体现出各种设置所暴露的问题。Apache中有个自带的,名为ab的程序,可以对Ap...
阅读 896·2021-11-25 09:43
阅读 1443·2021-09-13 10:25
阅读 2337·2021-09-09 11:38
阅读 3628·2021-09-08 09:36
阅读 3205·2021-09-07 10:14
阅读 1546·2019-08-30 15:52
阅读 493·2019-08-30 15:44
阅读 3403·2019-08-29 13:23