add script to set the ENV variable Server-IP based on the host
This commit is contained in:
2
apps/security/set-server-ip.sh
Normal file
2
apps/security/set-server-ip.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
export SERVER_IP=$(curl -s https://api.ipify.org)
|
Reference in New Issue
Block a user