Remove Origin header for Caddy v1
This commit is contained in:
parent
0b471477fc
commit
70ab212348
@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user