O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it…

  1. Open the Nginx configuration file at /Users/ArpitAggarwal/nginx/conf/nginx.conf and replace the location block under server with the following content:
location / {  # root html;  # index index.html index.htm;  proxy_pass http://localhost:8080/;}
  1. Start Nginx by executing the following command:
$ cd /Users/ArpitAggarwal/nginx/sbin$ ./nginx
  1. Run the Beego application by executing the following command:
$ bee run

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required