服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. 在redirect中使用$ request_uri作为查询string参数
Intereting Posts
为什么只有在启用SSL的情况下才会收到ARR的502错误? 使用Nginx启用PHP-FPM 7上的错误日志logging? 多个通配符条目 麻烦P2Ving OpenBSD 4.0到VMWare 互联网连接速度慢,没有理由 NetAPP Snap Manager for Exchange 仅适用于fallback_relay的Postfix sasl auth 关注专用(Windows Server 2008)+ DDoS 如何在现有的GKE集群上启用Stackdriver Monitoring和Stackdriver跟踪? 当没有错误时如何找出计划任务中的错误 C类的最大子网数是多less,如果每个子网至less有12个主机, 创build后缀别名“[email protected]”发送给域的所有用户 在IIS7上与Propfind的错误405 域控制器angular色configuration不正确 URL在iframe上没有指向https

在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