服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. linux nginx
  3. 如何在站点configuration中设置nginx位置以避免“重写或内部redirect周期”错误
Intereting Posts
TXTlogging导致子域名无法parsing terminal服务器环回策略和排除pipe理员 使用Supervisord时为UWSGI重新加载信号? 很多apache2进程导致高服务器负载 如何在RHEL 7中启用更新的PHP 5.5版本 跟踪Linux下巨大的缓冲区使用情况 SSH伪terminal 什么时候需要邮件中继? 使用远程域进行用户身份validation(Windows Server 2008 R2) Fedora目录服务器安装 傀儡设备通配符名称的节点? 如何设置IIS7将所有内容传递给Joomla? 批量删除特定地址的电子邮件 还原部分覆盖的分区? CentOS在下载目录/ var / cache / yum / base / packages中的空间不足

如何在站点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