Remove Origin header for Caddy v1

This commit is contained in:
Erope 2022-06-01 20:31:47 +08:00
parent 0b471477fc
commit 70ab212348
No known key found for this signature in database
GPG Key ID: 934F29AB0411C0E9
2 changed files with 4 additions and 0 deletions

View File

@ -83,9 +83,11 @@ Now, you should be able to access the panel directly using a domain name such as
```
proxy /ws http://ip:8008 {
websocket
header_upstream -Origin
}
proxy /terminal/* http://ip:8008 {
websocket
header_upstream -Origin
}
```

View File

@ -97,9 +97,11 @@ location ~ ^/(ws|terminal/.+)$ {
```
proxy /ws http://ip:8008 {
websocket
header_upstream -Origin
}
proxy /terminal/* http://ip:8008 {
websocket
header_upstream -Origin
}
```