nginx
nginx copied to clipboard
Locations should be an array
!!! BREAKING CHANGE
Locations and try_files are made into an array. Configuration files will need to be adjusted.
locations:
- name: /
try_files:
- $uri
- $uri/
- /index.html
- name: /images/
try_files:
- $uri
- $uri/
- /index.html
Hmm... In the end I think not only try_files should be treated separately, but almost any param given to locations - if an array - should be joined using spaces.
What do you think?