WebEnh

.net7 mvc jquery bootstrap json 学习中 第一次学PHP,正在研究中。自学进行时... ... 我的博客 https://enhweb.github.io/ 不错的皮肤:darkgreentrip,iMetro_HD
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2019年10月27日

摘要: 之前写过nginx反代替换的教程(传送门),使用了ngx_http_substitutions_filter_module模块。不过这货只能替换同一行,具有局限性-_-# 现在一个更强大的替换模块来了……replace-filter-nginx-module 下面只翻译一下,再加个安装教程,因为我自己也没弄懂怎样玩= = 1.安装此模块需要先安装sregex运行库 apt-get update; 阅读全文

posted @ 2019-10-27 15:19 WebEnh 阅读(499) 评论(0) 推荐(0)

摘要: 使用nginx的反向代理功能搭建nuget镜像服务器时,需要针对官方nuget服务器的响应内容进行字符串替换,比如将www.nuget.org替换为镜像服务器的主机名,将https://替换为http://。而nginx没有内置这个功能,需要使用第三方module,比如subs_filter。 在n 阅读全文

posted @ 2019-10-27 13:51 WebEnh 阅读(1194) 评论(0) 推荐(0)