personal-servers/reverse_proxy/start.sh
2024-06-26 11:11:00 -03:00

6 lines
248 B
Bash
Executable File

#!/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;'