L
L
littleguga2016-01-08 16:39:58
Nginx
littleguga, 2016-01-08 16:39:58

What happens if you don't specify try_files?

I didn’t quite understand what would happen if try_files was not specified.
The request will be processed in the same way as if you specify try_files $uri =404; ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2016-01-08
@littleguga

type yes
try_files - changing the standard behavior "get the file from the local full path, gluing the request and checking aliases" to "search for the file over there"
"over there" - usually cache, upstream, another server, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question