location / {
try_files /system/maintenance.html
$uri $uri/index.html $uri.html
@mongrel;
}
location @mongrel {
proxy_pass http://mongrel;
}
add_header
применится в location{}
, только если в location{}
не определены другие add_header
.There could be several add_header directives. These directives are inherited from the previous level if and only if there are no add_header directives defined on the current level.
<p>Некий текст <span class='num'>1234567890</span> и еще некий текст</p>