服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 linux nginx
  3. 如何在Nginx重写中如何转义哈希符号“#”字符?
Intereting Posts
Myphpadmin隐藏数据库 如何跟踪进程打开的所有文件 如何减lessOpenBSD上TIME_WAIT连接的超时? RHEL 6.5到6.4降级错误 Apache2 – 虚拟主机,除了将子域名设置为某个子域名之外,还可以引导所有的stream量? 通过脚本,webservice或类似的方式远程pipe理ftp服务器上的用户帐户 为BIND文件中的2个logging/服务器configuration类似前缀的正确方法? Windows 7&2008不会在UNCpath中间忽略额外的反斜杠 如何监控Tomcat中的带宽使用情况? 从梦想计算机vps访问文件 Windows Server 2008的磁盘映像工具 是否有可能更改Azure组织帐户pipe理员? 通过内部ELB从EC2克隆大型Git回收时遇到的问题 使用DNS CNAME访问局域网服务器 任何基准web服务器性能的工具

如何在Nginx重写中如何转义哈希符号“#”字符?

我正在尝试在nginx中为以下url添加重写规则http://www.example.com/gallery/how-make-your-own-cider#step-4-juice-and-strain,但没有任何反应,我怀疑它是因为散列符号。 请问我该如何转义nginx重写中的散列符号字符。

rewrite ^/gallery/how-make-your-own-cider#step-4-juice-and-strain http://www.example.com/article/recipe-how-make-your-own-cider permanent; 

  • 隐藏url中的nginx根目录
  • nginx重写整个request_uri
  • nginx位置服务多个端点
  • 对于POST请求,IIS ARR返回502,但对GET很好
  • 无法将https://example.comredirect到nginx服务器上的https://www.example.com
  • 用htaccess从文件夹加载子域名
  • nginxconfiguration – redirect,如果文件存在
  • 在IIS 10上安装后URL重写不可用
  • redirect到本地主机:8080?
  • Nginx将urlredirect到html文件并追加空参数
  • Apacheredirectwww到非www
  • 如果包含参数,Nginx会redirecturl
  • Nginx重写数字范围
  • 你用什么来支持与SharePoint不对称的path
  • 基于MIMEtypes的Apache重写

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