bump websocketd, commit binary

This commit is contained in:
Jake Jarvis 2021-05-22 11:01:13 -04:00
parent c19eceb29a
commit 1b4dc7ab29
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
4 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,3 @@
hostname: gimme-a-socket.jrvs.io hostname: spin-vm.jrvs.io
url: http://localhost:80 url: http://localhost:80
logfile: /var/log/cloudflared.log logfile: /var/log/cloudflared.log

View File

@ -41,7 +41,7 @@ update-grub
#### install websocketd #### #### install websocketd ####
## https://github.com/joewalnes/websocketd/releases ## 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 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 unzip /tmp/websocketd-${WEBSOCKETD_VERSION}-linux_amd64.zip websocketd -d /tmp
mv /tmp/websocketd /usr/local/bin/ mv /tmp/websocketd /usr/local/bin/

View File

@ -1,10 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
/usr/local/bin/websocketd \ REPO_DIR=/root/y2k
$REPO_DIR/host/websocketd \
--port=80 \ --port=80 \
--binary \ --binary \
--header-ws="Sec-WebSocket-Protocol: 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 \ docker run \
--cpus 1 \ --cpus 1 \

BIN
host/websocketd Executable file

Binary file not shown.