Skip to content

A simple Bricks-powered HTTP server to collect incoming data.

Notifications You must be signed in to change notification settings

KnowSheet/SimpleServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleServer

A reference implementation of an HTTP server. Stub data collector.

Example usage

Binary

$ make
$ while true ; do date ; ./.noshit/example 2>&1 | tee output.txt ; done

Port Forwarding

$ cat /etc/nginx/sites-enabled/80_to_8686
server {
  location / {
    proxy_pass http://0.0.0.0:8686/;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}

About

A simple Bricks-powered HTTP server to collect incoming data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published