~$ SERVERURL=$(aws cloudformation describe-stacks --stack-name mystack \
   --query 'Stacks[*].Outputs' \
   | jq -r '.[0][1].OutputValue')
 
~$ curl $SERVERURL
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
