Sign inSign up

lcxat/nginx-fpm-reverse-proxy

By lcxat

•Updated almost 5 years ago

A simple reverse proxy for kimai2 used in caprover

Image
0

10K+

lcxat/nginx-fpm-reverse-proxy repository overview

A simple reverse proxy to forward requests on to a PHP FPM Server. Built for use in the Kimai project it can be used for any PHP FPM server.

⁠Quickstart

docker run \
  -ti \
  --rm \
  -name nginx-fpm-reverse-proxy \
  -e FPM_NGINX_HOST=kimai \
  -v ${pwd}:/opt/kimai \
  -p 8001:80 \
lcxat/nginx-fpm-reverse-proxy

⁠Building

There is no build time customisation:

docker build .

⁠Runtime settings

This instance of nginx listens on port 80 and forwards php requests to the env var FPM_NGINX_HOST port 9000. The server name is nginx

⁠Source

Sources on github: https://github.com/lcx/nginx-fpm-reverse-proxy⁠

Tag summary

Content type

Image

Digest

Size

9.5 MB

Last updated

almost 5 years ago

docker pull lcxat/nginx-fpm-reverse-proxy