From 86a7f090ff8e7af662ff3a17db4c9cc0141fa1cc Mon Sep 17 00:00:00 2001 From: Jax Young Date: Wed, 19 Apr 2023 13:34:51 +0800 Subject: [PATCH] update(README): add Nginx proxy template --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 18d9987..1727658 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,24 @@ npm run lint ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). +### Nginx proxy template + +```conf +server { + listen 8000; + listen [::]:8000; + server_name localhost; + root /srv/http/chatting; + + location / { + index index.php index.html index.htm; + } + + location /chatting/ { + proxy_pass http://localhost:8088; + } +} +``` + ## Reference -- 聊天室界面——[https://github.com/JustCoding-Hai/subtlechat-vue/](https://github.com/JustCoding-Hai/subtlechat-vue) \ No newline at end of file +- 聊天室界面——[https://github.com/JustCoding-Hai/subtlechat-vue/](https://github.com/JustCoding-Hai/subtlechat-vue)