Skip to content

Simple proof of concept of Lua module used in Apache HTTP

License

Notifications You must be signed in to change notification settings

pascencio/apache_mod_lua_poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof of concept for apache's HTTP Lua module

This POC trying to proof that the apache's HTTP Lua module can be used in a Reverse Proxy to control the access to internal resources.

Requirements

  • Docker version 19 (Required)
  • docker-compose version 1.22 (Required)
  • Postman version 7 (Required)
  • Linux (Optional)

Running the POC

To start the sample application you must execute the following sentence (For Linux).

docker-compose up -d && docker-compose logs -f

When the logs stop to writing to standard output. You will have access to the REST API used to proof the access control.

You can use the following Postman collection to test the API.

With the collection imported, you can test the API such as shown in the gif:

Postam example

About

Simple proof of concept of Lua module used in Apache HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published