aboutsummaryrefslogtreecommitdiffstats
path: root/adze_extras/nginx-sites/equator.memeschemes.com
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2017-08-05 13:07:50 -0700
committerBryan Newbold <bnewbold@archive.org>2017-08-05 13:07:50 -0700
commit6b83183a205cb1e90c690c7e7f71c447cfae9a32 (patch)
tree870ae93beb63ce3d3b338346cff3a8f2fb35bcd1 /adze_extras/nginx-sites/equator.memeschemes.com
parent8974dd5f9351c666a1144b0584189d3a07c62351 (diff)
downloadinfra-6b83183a205cb1e90c690c7e7f71c447cfae9a32.tar.gz
infra-6b83183a205cb1e90c690c7e7f71c447cfae9a32.zip
backup adze nginx config
Diffstat (limited to 'adze_extras/nginx-sites/equator.memeschemes.com')
-rw-r--r--adze_extras/nginx-sites/equator.memeschemes.com34
1 files changed, 34 insertions, 0 deletions
diff --git a/adze_extras/nginx-sites/equator.memeschemes.com b/adze_extras/nginx-sites/equator.memeschemes.com
new file mode 100644
index 0000000..807eeb0
--- /dev/null
+++ b/adze_extras/nginx-sites/equator.memeschemes.com
@@ -0,0 +1,34 @@
+
+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;
+ }
+}
+