服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. 在redirect中使用$ request_uri作为查询string参数
Intereting Posts
Active Directory Web服务更新在应该时不会被安装 将整个SQL Server实例(2008-> 2008R2)从物理服务器移动并升级到虚拟服务器(2003 – > 2008) LDAP组词(不是名称) 将DSL调制解调器路由到Web服务器 如何在预安装的Linux上使用所有磁盘空间 服务器不发送ICMP回应答复 Pam无法使用户主目录 在sudoers中设置默认值 solaris中的solaris + grep语法 在CPanel上安装Percona mySQL,但得到一个错误 远程login连接拒绝,尽pipeufw有端口打开 IIS 6.0redirecthttp-> https以及pathredirect tcpdump:“ethertype未知”? FTP和Apache权限问题 跟踪哪台电脑在Windows 2003域上打印了一个文档

在redirect中使用$ request_uri作为查询string参数

是否有可能在查询string中编码$request_uri的值,如下面的redirect?

 error_page 401 = @error401 location @error401 { return 302 /sign-in?t=$request_uri; } 

上面的例子工作,但是$request_uri是附加的,所以在/foo?a=1&b=2上的401redirect变成字面/sign-in?t=/foo?a=1&b=2而不是/sign-in?t=/foo%3Fa%3D1%26b%3D2

  • img 404使用Nginx,Docker,Django,Digital Ocean
  • NGINX与GCE Kubernetes入门课程
  • 奇怪的AWS EC2可访问性问题 – Ubuntu,nginx,iPad
  • Nginx的PAM模块是否“安全”?
  • Nginx的内部重写不起作用,并被redirect
  • 将自定义标题X-API-KEY从nginxlogging到Graylog
  • Nginx匹配的favicon相关的文件
  • Django应用程序的公共IP工作,但是当一个logging更新时`400错误的请求错误`
  • “竞争”nginxconfiguration文件
  • nginx上游的错误回应
  • nginx将子域redirect到父域
  • 使用nginx-proxy容器(如前端服务器)访问同一主机上的多个容器时出现错误503
  • 将nginx速率限制应用于某些IP地址,并对其他速率进行限制
  • 设置侦听/和任何子path的位置
  • 允许连接的最小传输速度

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy