I am using nginx1.10 version. I wrote this configuration by referring to some configuration information on the Internet. nginx -t is correct.
Then nginx -s reload, but when accessing download, it always gets 404. This is Is there something wrong with the configuration?
Check the errorlog. If the resource cannot be found, there will be a corresponding error. If there is a problem with the configuration, the corresponding line will be printed. Also check your file ownership and modification permissions.