diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/ymir.nginx | 14 |
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 |