首页 > 其他分享 >proxy_pass_header dept-id;

proxy_pass_header dept-id;

时间:2023-04-25 09:05:44浏览次数:34  
标签:http rewrite header dept proxy pass id

proxy_pass_header dept-id;

underscores_in_headers on;

proxy_pass_request_body on;
if ($http_dept_id = 19)
{
#rewrite * http://192.168.19.145/;
rewrite ^/(.*)$ http://192.168.19.145/$1 redirect;
#rewrite ^/(.*) https://vip.h.com redirect;
#rewrite ^/(.*) http://192.168.19.145/#/login/ permanent;
#rewrite http://baidu.com;
#rewrite ^/(.*) https://www.baidu.com redirect;
#rewrite ^/(.*) http://www.baidu.com permanent;
#return 301 /login;
}

标签:http,rewrite,header,dept,proxy,pass,id
From: https://www.cnblogs.com/ruiy/p/17351512.html

相关文章

  • listwidget 实现横向流式排布关键以及过滤注意事项
    listWidget里面设置以下属性:this->setViewMode(QListView::IconMode);this->setResizeMode(QListView::Adjust);this->setMovement(QListView::Static);流式排布过滤时需要注意:在流式排布中过滤item采用隐藏的方式时,因为采用的是IconMode模式,所以偶尔会出现排版......
  • 2017 ACM-ICPC, Universidad Nacional de Colombia Programming Contest D
    AlexhastwomagicmachinesAandB.MachineAwillgiveyou2x + 1coinsifyouinsertxcoinsinit,machineBwillgiveyou2x + 2.Alexhasnocoinsandwantstogetexactlyncoinsinordertobuyanewunicorn,buthecan’tfigureouthowtodoi......
  • XI Samara Regional Intercollegiate Programming Contest Problem K. Video Reviews
    Thestudio«LodkaGaming»isengagedinadvertisingoftheirnewgame«.C.O.N.T.E.S.T:UnexpectedBehaviour».Thestudio’smarketerisplanningtocommunicatewithnvideobloggersonebyone(inthepredeterminedorder,startingfromthe1-standend......
  • Codeforces Round #306 (Div. 2) D. Regular Bridge 构造
    Anundirectedgraphiscalledk-regular,ifthedegreesofallitsverticesareequalk.Anedgeofaconnectedgraphiscalledabridge,ifafterremovingitthegraphisbeingsplitintotwoconnectedcomponents.Buildaconnectedundirectedk-regularg......
  • Android补间动画
    帧动画是通过连续播放图片来模拟动画效果,而补间动画开发者只需指定动画开始,以及动画结束"关键帧",而动画变化的"中间帧"则由系统计算并补齐!1.补间动画的分类和InterpolatorAndoird所支持的补间动画效果有如下这五种,或者说四种吧,第五种是前面几种的组合而已。AlphaAnimation:透明度渐......
  • D. Pashmak and Parmida's problem 树状数组
    ParmidaisaclevergirlandshewantstoparticipateinOlympiadsthisyear.Ofcourseshewantsherpartnertobeclevertoo(althoughhe’snot)!ParmidahaspreparedthefollowingtestproblemforPashmak.Thereisasequenceathatconsistsofnintege......
  • IDEA 类头注释模板配置
    File–>settings–>Editor–>FileandCodeTemplates–>Files修改头文件/***desc**@Author红尘过客*@DateTime${YEAR}-${MONTH}-${DAY}${HOUR}:${MINUTE}:${SECOND}*/......
  • 记一次排坑:在IOS中播放IronSource的RewardedVideo时,内存泄露导致闪退
    Unity版本:2020.3.6IronSource:7.3.0.1XCode:14.3现象:项目初始化IronSource之后,调用播放广告时内存不断上升。调用代码很简单IronSource.Agent.showRewardedVideo(); 排查步骤:1、使用IronSource的Demo、打包、播放RewardedVideo:不崩溃2、在现有项目中的起始Scene中,直接写......
  • 【c&c++】VScode报错error: ‘::main‘ must return ‘int‘ void main()
    在运行指针时终端出现error:‘::main’mustreturn‘int’voidmain()错误。源代码如下:#include<stdio.h>voidmain(){inta,*p,b,c,d,e;a=100;p=&a;/*(*&a)先进行&a运算,得a的地址,再进行*运算,即变量a的值*/b=*&a;printf("a=%d\n",a);......
  • @Valid 和 @Validated 注解用法详解
     目录案例引入@Valid详解@Validated详解@Valid和@Validated比较  案例引入下面我们以新增一个员工为功能切入点,以常规写法为背景,慢慢烘托出@Valid和@Validated注解用法详解。那么,首先,我们会有一个员工对象Employee,如下:/***员工对象**@authors......