{
	default_bind 152.53.192.33
	email info@itpropartner.com
}

core.itpropartner.com {
	handle_path /vault/* {
		reverse_proxy localhost:8080
	}
	reverse_proxy 127.0.0.1:8090
}

sign.core.itpropartner.com {
	reverse_proxy 127.0.0.1:8090
}

vault.iamgmb.com {
	reverse_proxy localhost:8080
}

ops.itpropartner.com {
	header Cache-Control "no-cache, no-store, must-revalidate"
	handle_path /osint/* {
		root * /var/www/osint/
		file_server
	}
	handle_path /api/search/* {
		reverse_proxy 127.0.0.1:8100
	}
	handle_path /api/health {
		reverse_proxy 127.0.0.1:8100
	}
	handle_path /data/* {
		root * /var/www/ops/data/
		file_server
	}
	handle_path /js/* {
		root * /opt/ops-portal/static/js
		file_server
	}
	handle_path /css/* {
		root * /opt/ops-portal/static/css
		file_server
	}
	reverse_proxy 127.0.0.1:8090
}

shark.iamgmb.com {
	reverse_proxy 127.0.0.1:8083
}

portal.debtrecoveryexperts.com {
	root * /var/www/internal/
	file_server
}

sign.iamgmb.com {
	reverse_proxy 127.0.0.1:8090
}

uptimekuma.itpropartner.com {
	handle /health {
		respond "OK" 200
	}
	reverse_proxy localhost:3001
}
