You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to reconfigure the application settings such that nginx is the one to serve static assets, todo:
1 - rename ./media to ./static - for consistency with other frameworks
2 - remove static route in bottle - or allow to stay as fallback?[1]
3 - add location block to nginx to serve static folder - outside project scope here (config)
[1] - We can allow an nginx in front of the bottle app to just intercept the correct path before it hits bottle. That way, running ./server.py remains unchanged and life it not more complicated for anybody contributing
The text was updated successfully, but these errors were encountered:
Need to reconfigure the application settings such that nginx is the one to serve static assets, todo:
1 - rename
./media
to./static
- for consistency with other frameworks2 - remove static route in bottle - or allow to stay as fallback?[1]
3 - add
location
block to nginx to serve static folder - outside project scope here (config)[1] - We can allow an nginx in front of the bottle app to just intercept the correct path before it hits bottle. That way, running
./server.py
remains unchanged and life it not more complicated for anybody contributingThe text was updated successfully, but these errors were encountered: