Where to place Go main on a Web Server?

I have done many tiny go executables in order to learn Go. Now I have decided to collect 6 of them on a VPS and “host many sub domains” in one place in order to document what I am doing for future needs. Each Go executable is proxied by Nginx. https://go4webdev.org

All works as expected, but some hosting expert said I placed my executable and files in wrong places. I use the default Nginx path

/var/www/go4webdev/main and subfolders for CSS etc


Could it be done in a more correct way?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.