Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| // create client | |
| var client = AgoraRTC.createClient({mode: 'live', codec: 'vp8'}); // vp8 to work across mobile devices | |
| const agoraAppId = ''; // insert Agora AppID here | |
| const channelName = 'WebAR'; | |
| var streamCount = 0; | |
| // set log level: | |
| // -- .DEBUG for dev |
#Linux Cheat Sheet
##File Commands:
| a.myhost.com { | |
| tls off | |
| root /var/www/ | |
| proxy / localhost:8091 | |
| log log/access.a.log | |
| } | |
| b.myhost.com { | |
| tls off | |
| root /var/www/ |
| name: Build and Deploy to Pages | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: |