mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 08:17:01 +05:30
Caddyfile: Configure proxying for goaccess websocket
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
d9ef6e5f3d
commit
3461b8234e
1 changed files with 7 additions and 0 deletions
|
@ -94,6 +94,13 @@ https://stats.msfjarvis.dev {
|
|||
root /var/www/stats.msfjarvis.website/
|
||||
}
|
||||
|
||||
https://stats.msfjarvis.dev/ws {
|
||||
import base_config
|
||||
proxy / localhost:7890 {
|
||||
websocket
|
||||
}
|
||||
}
|
||||
|
||||
https://www.msfjarvis.website {
|
||||
import base_config
|
||||
redir https://msfjarvis.dev{uri}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue