Question

How exactly to use nginxconfig.io?

I’m learning Docker, NGINX and Letsencrypt working on a website, trtying to do a DNS challenge:

officinecartografiche.net

While searching the internet I stumbled across this DO toolsnginxconfig.io

That seems to config all the best parameters for a Docker website on DO.

What I don’t get are the needed steps to get the all thing running : 1 Should I install NGINX docker, Letsencrypt docker and certbot docker and THE copy the files from nginxconfig.io on the given location ? 2 What are the DNS parameters I should set on DO and on OVH (where my domain is registered) ?

Thank you for contributinG to my learning curve


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, thank you for your kind reply.

Few more details:

  1. what are the containers I need to run?
  2. wht’s the exact folder structure I need to create?

thanks again

Hello, @lucamoiana

  1. Yes that is correct, Nginx and certbot need to be installed before you follow the steps listed on https://nginxconfig.io/

  2. As for the DNS changes, in order to point your domain name to digital ocean, you need to point/set the A record of your domain name to the IP address of your droplet/server with Digital Ocean

I hope this helps. Let me know if you have any questions.

Regards, Alex