summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-12-08 21:27:21 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-12-08 21:27:21 +0800
commit444966b2ff4a04374856d3a6759bef9e9f451c03 (patch)
treecbcd382654cd279485436d11a998b9b65f1506d9
parent1c6ed177608d61e6eeb9c44ff78b6fde35861a39 (diff)
Add nginx.conf
-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;
+ }
+}
+