I have a .conf
file existing in /etc/nginx/conf.d
similar to the below
server {
location /config/ {
root /app/services/config;
try_files $uri $uri/ $uri/config.json =404;
}
}
config.json
exists in /app/services/config
however when my URI to the server is /config/config.json
I am getting a 404 error.