Skip to content

ApesPlan/httphere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Httphere

a static file server, if file not exists, the request will handle by ReverseProxy.
you can config the ReverseProxy backend url.

install

use go install

go install github.com/youwen21/httphere

download execution directly

https://github.com/youwen21/httphere/releases

configure

edit .env file

cd {pwd}
touch .env

PORT=3100
BACKEND="http://127.0.0.1:8099/"

start server

in terminal

httphere

output

port is 8080
backend URL is http://127.0.0.1:8098/
root is /Users/owen/html/test
Listening on [::]:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 80.2%
  • Makefile 18.7%
  • Shell 1.1%