Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move static to nginx #17

Open
arahayrabedian opened this issue Sep 6, 2016 · 0 comments
Open

move static to nginx #17

arahayrabedian opened this issue Sep 6, 2016 · 0 comments

Comments

@arahayrabedian
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant