restarting nginx
c6a8a18b-a335-4bd7-9fda-c28338d3786c
testing the nginx configuration
d09e6754-febe-4a60-9443-bbb89a78121e
configurations for nginx
f369bad5-507e-4365-8256-9b1e670d293c
at any point if there is odd behavior, throw in an error log command and test. since these logs can balloon quickly - leave them off unless you really need to figure out what has gone wrong
13cc2c2d-e3f7-4bee-99ba-4f36b2cbf32e
8b114a11-6c55-415f-b1b8-0fa1ef75e356
note that the location can be referenced as either /d
or /d/
and the extra / should be used so that it is an explicit match to the single letter route. Otherwise nginx will assume the letter is part of the search and pass along the wrong uri.
for example, the following error occurs if /f is used over /f/
52a34e69-bbc2-41c7-ab01-54691d659cbf
the log shows an error to find a file - and that error shows the file path missing the last character
reason: nginx is looking for the alias to be a folder path ending in "/"
4e410839-82c4-4a20-b2fe-5ed3ed6ca943