Skip to content Skip to sidebar Skip to footer
Showing posts with the label Nginx

Django Nginx Static Files 404

Here are my settings : STATIC_URL = '/static/' STATICFILES_DIRS = ( os.path.join(BASE_… Read more Django Nginx Static Files 404

Removing Header From Cached Response With Nginx

I have NGINX running as a reverse proxy in front of a few Flask apps. I want to implement caching f… Read more Removing Header From Cached Response With Nginx

Setup Multiple Django Gunicorn Instances With Nginx

Got one django site running with gunicorn & nginx need to setup another site also with the same… Read more Setup Multiple Django Gunicorn Instances With Nginx

./manage.py Runserver With Https

./manage.py runserver 0.0.0.0:8000 I am using the line above as part of the code I borrowed from gi… Read more ./manage.py Runserver With Https

Add Headers In A Flask App With Unicode_literals

Adding headers with unicode_literals enabled seems to fail with Nginx, uWSGI and a simple Flask app… Read more Add Headers In A Flask App With Unicode_literals

Nginx Flask Aws 502 Bad Gateway

My server is running great yesterday but now it returned a 502 error, how could this happen? In my … Read more Nginx Flask Aws 502 Bad Gateway

Why Won't Newly Installed Django App With Nginx Serve Static Assets?

I have a Mac running OS X 10.9.3. I am trying to setup a Django application backed by a PostgreSQL … Read more Why Won't Newly Installed Django App With Nginx Serve Static Assets?

Multiple Backend Servers Accessible From A Flask Server

I want to have a front-end server where my clients can connect, and depending on the client, be red… Read more Multiple Backend Servers Accessible From A Flask Server

Django App Under Uwsgi Failing To Start When Using Postgresql Database

I setup an app in Ubuntu 14.04 on AWS -> NGINX -> UWSGI -> DJANGO APP. The app runs comple… Read more Django App Under Uwsgi Failing To Start When Using Postgresql Database

Can't Use Nginx As Websocket Proxy

Here is my nginx config server { listen 80; server_name _; location / { proxy_… Read more Can't Use Nginx As Websocket Proxy