Mercurial > hg > nginx-quic
view src/core/nginx.h @ 5971:ebdb2023e84a
Fixed try_files directory test to match only a directory.
Historically, it was possible to match either a file or directory
in the following configuration:
location / {
try_files $uri/ =404;
}
author | Damien Tournoud <damien@commerceguys.com> |
---|---|
date | Wed, 21 Jan 2015 00:26:32 +0100 |
parents | 53499b86242e |
children | 814583aef808 |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGINX_H_INCLUDED_ #define _NGINX_H_INCLUDED_ #define nginx_version 1007010 #define NGINX_VERSION "1.7.10" #define NGINX_VER "nginx/" NGINX_VERSION #ifdef NGX_BUILD #define NGINX_VER_BUILD NGINX_VER " (" NGX_BUILD ")" #else #define NGINX_VER_BUILD NGINX_VER #endif #define NGINX_VAR "NGINX" #define NGX_OLDPID_EXT ".oldbin" #endif /* _NGINX_H_INCLUDED_ */