diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-12-08 21:27:21 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-12-08 21:27:21 +0800 |
commit | 444966b2ff4a04374856d3a6759bef9e9f451c03 (patch) | |
tree | cbcd382654cd279485436d11a998b9b65f1506d9 /init/nginx.conf | |
parent | 1c6ed177608d61e6eeb9c44ff78b6fde35861a39 (diff) |
Add nginx.conf
Diffstat (limited to 'init/nginx.conf')
-rw-r--r-- | init/nginx.conf | 13 |
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; + } +} + |