Nginx变异安装加上参数 --with-http_sub_module

配置文件:

location ~* ^/portalproxy/([-]*)/portal(.*)$ {
#sub_filter '302 Found' 'success';
#sub_filter_once off;
set $bodyContent '<html><head><title>success</title></head><body><script>location.href="http://$host/portalproxy/portal?url_timetemp
=$$";</script></body></html>';
#rewrite '^/portalproxy/([0-9]*)/portal$' http://$host/portalproxy/portal?url_timetemp=$1 break;
add_header Content-Type "text/html";
return $bodyContent;
}

最新文章

  1. SharePoint Conference 2014 Keynote
  2. [No00006F]总结C#获取当前路径的各种方法
  3. Web API 使用上安全吗?
  4. Angularjs,WebAPI 搭建一个简易权限管理系统 —— WebAPI项目主体结构(四)
  5. PHP 练习租房
  6. [再寄小读者之数学篇](2014-11-24 Abel 定理)
  7. Routes
  8. 跨站脚本攻击(XSS)
  9. postgresql赋予/撤消 用户权限
  10. Android SDK 5.0 这个语句带来折腾 - 生命在于折腾!
  11. Android手机图片适配问题
  12. Thinkphp3.2.3框架下封装公共的函数,例如封装CURL函数来获取接口数据
  13. junit设计模式--命令者模式
  14. Django 内置分页器
  15. IntentService用法
  16. C# 8.0的新的using语法——Using declarations
  17. Net Web Api Route
  18. Ubuntu12.04添加环境变量
  19. Django网站搭建(相关命令-Win10环境)
  20. python: 基本的日期与时间转换

热门文章

  1. Python列表中去重的多种方法
  2. dp--01背包--Charm Bracelet
  3. lvm镜像卷
  4. 标准库模块——shutil模块
  5. python all()函数
  6. js 选中div中的文本
  7. maven打包springboot项目的插件配置概览
  8. RHEL安装rails后启动报错
  9. topological space
  10. 系统学习javaweb3----HTML语言3(结束)