Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 378 Bytes

File metadata and controls

7 lines (5 loc) · 378 Bytes

create-vhost-ubuntu-nginx-golang

Shell script helps quickly create Ubuntu Nginx host for any GoLang based web project on your local machine.

  • Don't use symbol "_" for local domain name.
  • Open file /etc/hosts and add string #localhost to the end (one-time step).
  • Run script under root user: sudo -s;sh create_host_nginx_golang.sh <your-domain-name.local> <port>;