You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#this file helps to generate the Caddyfile for the proxy instance
proxy_name="my-rev-proxy"
gcp_project_of_proxy="my-gcp-project-id"
domainname="bitbybitcoding.org"
# an instance with this name should already exist and have a public IP... also caddy should be installed
declare -a arr=( "list" "of" "instance" "names" "here" )
gcp_project="my-gcp-project-id"
#generate proxy's Caddyfile
for i in "${arr[@]}"
do
# MAKE SURE THESE SETTINGS MATCH THE REAL INTERNAL IP OF THE GCP INSTANCE. (can be found by running `ping -q -c 1 `hostname` | head -n 1 | cut -d " " -f 2` on the instance)