summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 01:17:50 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 01:17:50 +0100
commit35074ec912a75ee4a305d8334040c3d2655f3b09 (patch)
treea9ff8d19f6cb9bc7e485ebe2e229888a9b2705bd
parentd17c6ecb2bbb96b8b372abcb5778a1c16e632544 (diff)
downloadnixos-35074ec912a75ee4a305d8334040c3d2655f3b09.tar
nixos-35074ec912a75ee4a305d8334040c3d2655f3b09.tar.gz
nixos-35074ec912a75ee4a305d8334040c3d2655f3b09.tar.bz2
nixos-35074ec912a75ee4a305d8334040c3d2655f3b09.tar.xz
nixos-35074ec912a75ee4a305d8334040c3d2655f3b09.zip
literally magic
-rw-r--r--custom/ymir.nginx14
1 files changed, 14 insertions, 0 deletions
diff --git a/custom/ymir.nginx b/custom/ymir.nginx
index 77e013cd..0512d79e 100644
--- a/custom/ymir.nginx
+++ b/custom/ymir.nginx
@@ -69,6 +69,20 @@ server {
69 error_log /var/log/cgit.error; 69 error_log /var/log/cgit.error;
70 70
71 location / { 71 location / {
72 uwuwsgi_param QUERY_STRING $query_string;
73 uwuwsgi_param REQUEST_METHOD $request_method;
74 uwuwsgi_param CONTENT_TYPE $content_type;
75 uwuwsgi_param CONTENT_LENGTH $content_length;
76 uwuwsgi_param REQUEST_URI $request_uri;
77 uwuwsgi_param PATH_INFO $document_uri;
78 uwuwsgi_param DOCUMENT_ROOT $document_root;
79 uwuwsgi_param SERVER_PROTOCOL $server_protocol;
80 uwuwsgi_param REMOTE_ADDR $remote_addr;
81 uwuwsgi_param REMOTE_PORT $remote_port;
82 uwuwsgi_param SERVER_ADDR $server_addr;
83 uwuwsgi_param SERVER_PORT $server_port;
84 uwuwsgi_param SERVER_NAME $server_name;
72 uwsgi_pass unix:/tmp/cgit.sock; 85 uwsgi_pass unix:/tmp/cgit.sock;
86 uwsgi_modifier1 9;
73 } 87 }
74} \ No newline at end of file 88} \ No newline at end of file