From 35074ec912a75ee4a305d8334040c3d2655f3b09 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 01:17:50 +0100 Subject: literally magic --- custom/ymir.nginx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'custom') 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 { error_log /var/log/cgit.error; location / { + uwuwsgi_param QUERY_STRING $query_string; + uwuwsgi_param REQUEST_METHOD $request_method; + uwuwsgi_param CONTENT_TYPE $content_type; + uwuwsgi_param CONTENT_LENGTH $content_length; + uwuwsgi_param REQUEST_URI $request_uri; + uwuwsgi_param PATH_INFO $document_uri; + uwuwsgi_param DOCUMENT_ROOT $document_root; + uwuwsgi_param SERVER_PROTOCOL $server_protocol; + uwuwsgi_param REMOTE_ADDR $remote_addr; + uwuwsgi_param REMOTE_PORT $remote_port; + uwuwsgi_param SERVER_ADDR $server_addr; + uwuwsgi_param SERVER_PORT $server_port; + uwuwsgi_param SERVER_NAME $server_name; uwsgi_pass unix:/tmp/cgit.sock; + uwsgi_modifier1 9; } } \ No newline at end of file -- cgit v1.2.3