Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

marselester/api-proxy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of API proxy

Install requirements and run app servers.

$ pip install -r requirements.txt
$ honcho start

Install Nginx and copy config to /etc/nginx/conf.d/.

$ sudo apt-get install nginx

Add 127.0.0.1 internal.local external.local to /etc/hosts and try to curl.

$ curl external.local
Hi, I am internal API!

About

Example of API proxy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages