server { listen 80; listen [::]:80; server_name equator.memeschemes.com; access_log /var/log/nginx/access.log; # location / { # root /srv/http/equator.memeschemes.com/www; # index index.html index.htm; # } location /robots.txt { root /srv/http/equator.memeschemes.com/www/; } location /static { root /srv/http/equator.memeschemes.com/www/; } location / { fastcgi_pass unix:/srv/http/equator.memeschemes.com/django.sock; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param QUERY_STRING $query_string; fastcgi_param SERVER_NAME $server_name; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_pass_header Authorization; fastcgi_intercept_errors off; } }