Skip to content

NGINX webserver running in Docker - to capture test API calls

Notifications You must be signed in to change notification settings

SamAndrew81/NGINX_API_websvr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX single webserver - running in Docker

Send API calls (no auth) to the server. They will be displayed on the webpage. For example, on the CLI:

  • curl -k -X POST -H "Content-Type: application/json" -d '{"mic-check":"123"}' https://10.233.10.182/api/data

To build & run:
1.) Build with: docker-compose --verbose build
2.) Start with: docker-compose up -d

Re-run steps if any chnages are made to code. Changes are non-persistent and reset on each new docker-compose up -d

About

NGINX webserver running in Docker - to capture test API calls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published