服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx
  3. nginx如果不在目录中
Intereting Posts
LDAP查询的安全问题 卡住loginPhpMyAdmin Salt-Stack从salt master复制文件python API到特定的minion Apache状态说已停止,但仍然httpd进程运行 将标准和日志文件合并到标准输出 启动托pipe的Windows部署 用Bash回答对话 运行Postfix的W / O安全吗? 如何映射来自其他域的networking驱动器? 是否有可能检测访问我的网站的访问者是否使用VPN? 许多Snow Leopard服务器pipe理的首选项设置不生效 一些免费的ESXi GUI备份解决scheme CentOS 7 NFS分区不会在启动时挂载 什么DNS服务器使用多个连接 在Outlook 2003中清除“到”列表

nginx如果不在目录中

我想在nginxconfiguration中创build一个if语句

如果位置不是/ images /目录然后做一些事情。

我可以这样说,如果它是在图像目录,但不知道如何做相反的事情。

if location ^~ /images/ { do something } 

  • nginx try_files混淆
  • 如何过滤nginx错误日志
  • nginx重写login和login/在一个语句
  • 如何使用Nginx将单个URI从httpredirect到https?
  • 可以使用fastcgi的mono / xsp处理多个请求吗?

  • nginx wordpress永久链接天和名字
  • 另一个NGINX&PHP设置失败
  • nginx / node.js / postgres,可伸缩性问题?
  • 在nginx重build期间修正sbin-path
  • Ubuntu的服务器10.04 Nginx的404错误
 location / { # do something } location /images { # do not } 
  • Nginx,作为一个服务于HTTP和HTTPS的站点的反向代理,没有子域区分
  • 很多时候我的web应用程序的数据库PostgreSQL失败
  • 我应该如何强制某些path使用https?
  • Nginx重写不能按预期工作
  • nginx中的等效重写规则是什么?
  • configurationnginx和PHP5-FPM
  • 基于server_name的nginx请求阻止
  • 设置nginx来回答所有域
  • (服务PHP)Apache2是否会在每个连接上创build新的线程?
  • 通过Nginx使用Webrick运行Redmine是不是一个好主意?

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