Files
personal-servers/reverse_proxy/start.sh
Roberto Alsina 7b5ce1a5e8 Add GoAccess metrics dashboard with WebSocket support
- Add GoAccess package to Docker container
- Create GoAccess startup script with real-time HTML generation
- Add metrics.ralsina.me server block with authentication
- Configure WebSocket proxy for live metrics updates
- Add password protection with .htpasswd
- Fix WebSocket URL to use proper HTTPS endpoint
- Update all server blocks to listen on 0.0.0.0:8080 for Fly.io compatibility

Co-Authored-By: z.ai LGM 4.5 <noreply@z.ai>
2025-10-03 10:53:26 -03:00

11 lines
320 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
# Start GoAccess real-time dashboard
/app/goaccess.sh &
# Start nginx
/usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'