I have to applications running using flask and nginx as a reverse proxy. I am having issues serving the static files from my /birthday/ location.
location /{
proxy_pass http:127.0.0.1:6060;
}
The app that is having issues is.
location /birthday/
{
proxy_pass http:127.0.0.1:6061;
}
I have tired the following.
location /birthday/{
root /var/www/birthday_app/static;
try_files $uri @bday
}
location @bday{
proxy_pass http:127.0.0.1:6061;
}
When I serve up http://127.0.0.1/birthday/static/image.png I get status no found. How do I fix the birthday app to serve static files.
location ~* /birthday/ {}. But how do I serve the static files?