Skip to content

Commit 3b52bdc

Browse files
author
Christian Vögl
committed
Added uwsgi_paramsm from [1]
This is required to run an orthos2 instance via uwsgi and nginx (see [2]) [1] https://github.com/nginx/nginx/blob/master/conf/uwsgi_params [2] https://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html
1 parent a5bd313 commit 3b52bdc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

orthos2/uwsgi_params

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
uwsgi_param QUERY_STRING $query_string;
2+
uwsgi_param REQUEST_METHOD $request_method;
3+
uwsgi_param CONTENT_TYPE $content_type;
4+
uwsgi_param CONTENT_LENGTH $content_length;
5+
6+
uwsgi_param REQUEST_URI $request_uri;
7+
uwsgi_param PATH_INFO $document_uri;
8+
uwsgi_param DOCUMENT_ROOT $document_root;
9+
uwsgi_param SERVER_PROTOCOL $server_protocol;
10+
uwsgi_param REQUEST_SCHEME $scheme;
11+
uwsgi_param HTTPS $https if_not_empty;
12+
13+
uwsgi_param REMOTE_ADDR $remote_addr;
14+
uwsgi_param REMOTE_PORT $remote_port;
15+
uwsgi_param SERVER_PORT $server_port;
16+
uwsgi_param SERVER_NAME $server_name;

0 commit comments

Comments
 (0)