Argo Setup on Nginx

I have deduced that Argo cannot work on Nginx server blocks with multiple domains so I am forced to create to machines for both domains.

Now as the Cloudflare Tunnel documentation is not clear nor is it detailed I thought listing the questions specific to setup on NGINX would help myself and others.

Here are the questions

  1. If wanting to setup the root domain can we just use tunnel.domain.com when running the Cloudflared daemon ?

  2. As the Tunnel is not using a public IP what then is needed to be put in the A record for the root domain that we will be using Cloudflare Tunnel ?

  3. In the NGINX config do we change the config to the Cloudflare Tunnel port such as 8000 or 8080 ?

  4. Does the NGINX config need both http and https configurations ?

  5. What does the configuration in the config.yml need to be.

It would assist if the documentation can be a little more clear with examples for both Apache AND Nginx .

1 Like

Did you ever get this figured out? I would like to connect NGINX to an Argo Tunnel and have NGINX route the requests to the proper port, but I can’t find any information online anywhere if this is possible, and your question sounds within a similar realm. Did you ever come up with any answers?

I’ve just come here to share that I have made myself, exactly those same questions. I guess we can all find some way to get what we want wihtout the answers, but from a technical standpoint, without all the information we don’t know if the approach we are following is the best.

Looking for answers! thanks!

@nuno.diegues can you answer these?