Skip to content

Run nginx server from command line as you would run python's SimpleHTTPServer

Notifications You must be signed in to change notification settings

suzanshakya/nginx-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nginx-server

Run nginx server from command line as you would run python's SimpleHTTPServer

Install
make
export PATH=~/bin:$PATH

Examples:
Serve current directory in port 8000
# nginx-server.py

Serve 'Movies' directory in port 8000
# nginx-server.py Movies

Serve current directory in port 80
# sudo ~/bin/nginx-server.py . 80

About

Run nginx server from command line as you would run python's SimpleHTTPServer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages