Skip to content

Commit 8acd79c

Browse files
committed
docs:update
1 parent ce1c1d1 commit 8acd79c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,24 @@
5555
}
5656
```
5757

58+
## 使用已有域名的Nginx配置
59+
```
60+
listen 80;
61+
server_name www.xxx.com;
62+
63+
location /grmapix/ {
64+
proxy_pass http://host:port;
65+
proxy_http_version 1.1;
66+
proxy_set_header Upgrade $http_upgrade;
67+
proxy_set_header Connection "Upgrade";
68+
}
69+
70+
location ~ ^/grm/(.*) {
71+
proxy_pass http://host:port/$1;
72+
}
73+
```
74+
* 访问地址 http://www.xxx.com/grm/static/#/
75+
5876
## 持续更新中。。。
5977
### 登录
6078
![login](https://user-images.githubusercontent.com/18718299/180608188-9d7a3d97-3c4c-40ea-bcfe-444ed0fc2900.gif)

0 commit comments

Comments
 (0)