Skip to content

ThreadsafeStudio/static-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-proxy

Simple, configurable reverse proxy using Nginx

Docker

docker pull pascalc/static-proxy

Usage

  1. Set the environment variable PROXY to where you want to Nginx to proxy /api to.
  2. Mount any static files you want to serve into /var/www/html

Example docker-compose

version: '2'
services:
  nginx:
    image: pascalc/static-proxy
    ports:
     - "8000:80"
    volumes:
     - "./public:/var/www/html"
    environment:
     - PROXY=http://echo.jsontest.com/

About

Simple, configurable reverse proxy using Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published