Skip to content

vanushwashere/mkvhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mkvhosh: Make nginx virtual hosts with no effort

A dead simply script for making virtual host files for nginx reverse proxy. Virtual hosts will be with .localhost TLD. (exp. foobar.localhost, yoursite.localhost etc. )

Help

  • Run ./mkvhost -h for help

Usage

  • Simply pull the repository where you wish
  • Add mkvhost.sh permission to execute
  • Run sudo ./mkvhost.sh YOUR_HOST_WITHOUT_TLD YOUR_LOCAL_PORT (exp. ./mkvhost.sh foobar 8080 will create foobar.localhost virtual host that will proxy_pass to http://localhost:8080)

About

A little script for making vhost files for nginx reverse proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages