python - access static files as well from uWSGI -
i have application (on openshift) can run python. reach static, eg. html files. when try get:
uwsgi error
python application not found
could please how can make server not interpret files python?
uwsgi needs python app serve url.
if want use real webserver should take account serving static files in uwsgi instances possible, not using dedicated full-featured web server.
in normal case, clients send http requests nginx or other web server, handles static files' responses , leaves rest uwsgi.
you might better ask on https://serverfault.com/about
Comments
Post a Comment