A simple reverse proxy for kimai2 used in caprover
10K+
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.
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
There is no build time customisation:
docker build .
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
Sources on github: https://github.com/lcx/nginx-fpm-reverse-proxy
Content type
Image
Digest
Size
9.5 MB
Last updated
almost 5 years ago
docker pull lcxat/nginx-fpm-reverse-proxy