summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/nginx.conf13
1 files changed, 13 insertions, 0 deletions
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;
+ }
+}
+