bump websocketd, commit binary
This commit is contained in:
parent
c19eceb29a
commit
1b4dc7ab29
@ -1,3 +1,3 @@
|
||||
hostname: gimme-a-socket.jrvs.io
|
||||
hostname: spin-vm.jrvs.io
|
||||
url: http://localhost:80
|
||||
logfile: /var/log/cloudflared.log
|
||||
|
@ -41,7 +41,7 @@ update-grub
|
||||
|
||||
#### install websocketd ####
|
||||
## https://github.com/joewalnes/websocketd/releases
|
||||
WEBSOCKETD_VERSION=0.3.1
|
||||
WEBSOCKETD_VERSION=0.4.1
|
||||
wget -nv -P /tmp/ https://github.com/joewalnes/websocketd/releases/download/v${WEBSOCKETD_VERSION}/websocketd-${WEBSOCKETD_VERSION}-linux_amd64.zip
|
||||
unzip /tmp/websocketd-${WEBSOCKETD_VERSION}-linux_amd64.zip websocketd -d /tmp
|
||||
mv /tmp/websocketd /usr/local/bin/
|
||||
|
@ -1,10 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
/usr/local/bin/websocketd \
|
||||
REPO_DIR=/root/y2k
|
||||
|
||||
$REPO_DIR/host/websocketd \
|
||||
--port=80 \
|
||||
--binary \
|
||||
--header-ws="Sec-WebSocket-Protocol: binary" \
|
||||
--origin=y2k.jarv.is,y2k.app,y2k.jakejarvis.workers.dev \
|
||||
--origin=y2k.app,www.y2k.app \
|
||||
-- \
|
||||
docker run \
|
||||
--cpus 1 \
|
||||
|
BIN
host/websocketd
Executable file
BIN
host/websocketd
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user