服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. linux nginx
  3. 如何在站点configuration中设置nginx位置以避免“重写或内部redirect周期”错误
Intereting Posts
在Vagrant环境中安装Grunt的问题 在Debian上SSH:密码提示挂起 如果两个驱动器在外部硬盘驱动器中的RAID 0,我删除一个会发生什么? 当延迟高度变化时,ntpd将如何工作? 在使用Nmap并使用ping来扫描networking时 服务器2012年:不会重新启动,只locking 我必须使用DNS PTR吗? Exchange保留策略不能手动运行 广域网之间的卫星办公室 postfix通过office365问题中继所有邮件 使用OpenSSLvalidationS / MIME签名的消息而不检查证书的用途 如何检查特定分区中目录的磁盘使用情况? login到vSphere Client for iPad和vCenter Mobile Access的用户权限要求 logging所有文件的Linux文件系统,甚至被删除的文件系统 Ubuntu服务器每天失败

如何在站点configuration中设置nginx位置以避免“重写或内部redirect周期”错误

我在我的site.conf中为nginx下面的行

Server { # Some other stuff ... location / { try_files $uri /index.php?$args $uri/=404; } error_page 404 /404.html; location = /404.html { root /var/www; internal; } location ^~ /app.css { alias /var/www/public/css/app.css; access_log off; } } } 

但是这是导致rewrite cycle for 404 page 。 我究竟做错了什么?

  • 为什么我的iptables端口不能正常工作?
  • access.conf文件中的更改是否需要重新启动?
  • 为什么延迟池不能正常工作?
  • 如何使用pointopoint外部地址linux?
  • P4:没有这样的文件或目录 – 实际上它存在
  • 如何在RHEL7中限制sudo用户权限?
  • 具有两个AD域的Linux SSSD
  • 尝试storage.googleapis.com时出现证书错误
  • 如何在CoreOS主机上安装gcc,而不是运行在其中的容器
  • 直接在edgenodes上更改configuration
  • 无法连接到supervisord网页界面
  • 绑定到公共GRE IP
  • 如何筛选在最近n分钟内有更改权限的文件
  • 什么是php-cgi56,如何阻止发送电子邮件?
  • 如何在n秒后创build并closuresSOCKS5隧道?

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