Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1016 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 1016 Bytes

AAAforREST

An HTTP reverse proxy to bring authentication, authorization and accounting to RESTful applications (see "features").

License: BSD revised

Contact: [email protected]

Home page: https://github.com/Hypertopic/AAAforREST

Installation requirements

Installation procedure

sudo npm install forever -g
  • In any folder:

      git clone https://github.com/Hypertopic/AAAforREST.git
      cd AAAforREST
      npm install
      mkdir log
      cp conf/config.sample.js conf/config.js
    
  • Change settings in config.js.

  • Test the settings (sudo is required for port 80):

      sudo node app/proxy.js
    
  • Exit the program (CTRL+C) and start it as a service:

      sudo forever start app/proxy.js
    
  • The service can be stopped with:

      sudo forever stop app/proxy.js