Update dashboard.md (#95)
* Update dashboard.md Update:更新Dashboard反代中关于探针文件上传的反代配置 * Update dashboard.md Update:update dashboard about proxy in file use
This commit is contained in:
parent
1111f53c1f
commit
9300f35a31
@ -95,7 +95,7 @@ location / {
|
|||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
}
|
}
|
||||||
location ~ ^/(ws|terminal/.+)$ {
|
location ~ ^/(ws|terminal/.+|file/.+)$ {
|
||||||
proxy_pass http://127.0.0.1:8008;
|
proxy_pass http://127.0.0.1:8008;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@ -120,6 +120,10 @@ proxy /terminal/* http://ip:8008 {
|
|||||||
websocket
|
websocket
|
||||||
header_upstream -Origin
|
header_upstream -Origin
|
||||||
}
|
}
|
||||||
|
proxy /file/* http://ip:8008 {
|
||||||
|
websocket
|
||||||
|
header_upstream -Origin
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuring SSL in the aaPanel
|
## Configuring SSL in the aaPanel
|
||||||
|
@ -99,7 +99,7 @@ location / {
|
|||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
}
|
}
|
||||||
location ~ ^/(ws|terminal/.+)$ {
|
location ~ ^/(ws|terminal/.+|file/.+)$ {
|
||||||
proxy_pass http://127.0.0.1:8008;
|
proxy_pass http://127.0.0.1:8008;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
@ -124,6 +124,10 @@ proxy /terminal/* http://ip:8008 {
|
|||||||
websocket
|
websocket
|
||||||
header_upstream -Origin
|
header_upstream -Origin
|
||||||
}
|
}
|
||||||
|
proxy /file/* http://ip:8008 {
|
||||||
|
websocket
|
||||||
|
header_upstream -Origin
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 在宝塔面板中配置 SSL
|
## 在宝塔面板中配置 SSL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user