This is the path of my go language project (MVC): /home/demo/goproj/src/Test. It listens to port 8080. How to write the Nginx configuration file? ? I've configured it several times but it's still wrong. " location /{} " or write like this " location /Test {}"
Simple version:
Generally static files are provided by nginx, so they can be written like this
If there is a level 2 directory then