Skip to content
/ TinyS Public

TinyS is simple HTTP server which supports static resources and reverse proxy

License

Notifications You must be signed in to change notification settings

uvletter/TinyS

Repository files navigation

TinyS

TinyS is a simple HTTP server, which supports both static resources and reverse proxy.

Usage

git clone https://www.github.com/ElevenKeys/TinyS.git  
make  
sudo ./TinyS  

Now you can visit bilibili from localhost(127.0.0.1). O(∩_∩)O~~

About

TinyS is a event-driven server, whice implemented by a internal message loop. When the request comes, main thread catches it and generates a message, then the worker threads fetch it from the message queue and handle it.

As a lock of URL routing, the HTTP server can't switch automatically between visiting local file and reverse proxy now. The function of routing may be introduced in TinyS the following version. The configuration is the same.

The reverse proxy is divided into several modules. Now only direct proxy, transmitting the raw request and response, is supported. The fastcgi and uwsgi are only given the interface.

About

TinyS is simple HTTP server which supports static resources and reverse proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published