personal-servers/reverse_proxy/start.sh

6 lines
248 B
Bash
Raw Normal View History

2022-05-03 16:10:33 +00:00
#!/bin/sh
/app/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
/app/tailscale up --authkey=${TAILSCALE_AUTHKEY} --hostname=reverseproxy
/usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'