From 444966b2ff4a04374856d3a6759bef9e9f451c03 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 8 Dec 2021 21:27:21 +0800 Subject: Add nginx.conf --- init/nginx.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 init/nginx.conf (limited to 'init/nginx.conf') diff --git a/init/nginx.conf b/init/nginx.conf new file mode 100644 index 0000000..119faaf --- /dev/null +++ b/init/nginx.conf @@ -0,0 +1,13 @@ +server { + server_name umbrella.jibelief.cn; + + location / { + try_files $uri @jimbrella; + } + + location @jimbrella { + include uwsgi_params; + uwsgi_pass 127.0.0.1:5000; + } +} + -- cgit v1.2.3