Skip to content
/ mginx Public

a stupid http server for hust network lab and it works like nginx(maybe)

License

Notifications You must be signed in to change notification settings

jyxk/mginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment

  • gcc 9.2.0
  • linux 5.3.5

Dependency

Install

  $ cd src && make all
  # make install 

Run

$ sudo mginx # default listening at 8000

You may modify the config file to specify the port if there is a confliction.

Debug

As julia run as a daemon, it is not convenient to debug. Follow the steps to make it run in debug mode:

  1. change the INSTALL_DIR in Makefile to your local repo, like:
INSTALL_DIR = /home/foo/mginx/ # the last slash required
  1. turn on the debug instruction in config.json
"debug": true,

Todo

  1. fastcgi
  2. chunked transform
  3. benchmark

Reference

  1. nginx
  2. lighttpd
  3. juson

About

a stupid http server for hust network lab and it works like nginx(maybe)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published