December 21, 2024
Things That I Discovered
1. Caddy Load-Balancing
Turned to Caddy's Load Balancing capabilities to make sure a service stays up even if the server A goes down, and for that we can just declare a Reverse Proxy such that the server B is used when the server A goes down.
Example:
:80 { reverse_proxy { to 100.64.0.1:12345 100.64.0.2:12345 health_uri /health health_interval 5s health_timeout 2s health_status 200 health_passes 5 fail_duration 30s lb_policy first } }
2. Show Wi-Fi Networks in Ubuntu Server
In order to show available WiFi Networks in Ubuntu Server, we can use
iwlist
command.Example:
sudo iwlist <INTERFACE_NAME> scan | grep ESSID
Reference(s):
Last updated