Sign inSign up

modinbah/nginx_reverse-proxy

By modinbah

•Updated over 7 years ago

Nginx Reserve Proxy Based on Alpine Linux

Image
0

460

modinbah/nginx_reverse-proxy repository overview

⁠High Availability Wordpress Based on Docker

Build Docker Image with Nginx + PHP-FPM + MariaDB Galera + Redis

⁠NGINX REVERSE PROXY

By default, Nginx Reserve Proxy currently only add 2 links. If you want to add another link, you can re-create the docker images to suit your needs. To replace the default link, you can input environment in your docker run or docker stack.

--env SERVER_PERTAMA="Your First Link"
--env SERVER_PERTAMA="Your Second Link"
or
-e SERVER_PERTAMA="Your First Link"
-e SERVER_PERTAMA="Your Second Link"

⁠NGINX_PHP_FPM

⁠NGINX Port

Default Open Port is 8080, if you want to change open port add to environment like this

--env PORT_NGINX="PORT NUMBER"
or
-e PORT_NGINX="PORT NUMBER"
⁠PHP Version

Default PHP using PHP 7. If you want to change default PHP simple to add environment like this

--env PHPVERSION "Version"
or
-e PHPVERSION "Version"
⁠PHP Module

Default Module PHP

  • PHP FPM
  • PHP opcache
  • PHP curl
  • PHP intl
  • PHP iconv
  • PHP mcrypt
  • PHP bcmath
  • PHP common
  • PHP dev
  • PHP gd
  • PHP mbstring
  • PHP mysqlnd
  • PHP pdo
  • PHP soap
  • PHP xml
  • PHP xmlrpc

If you want to change PHP Module, simple to add environment while you running container.

--env PHPMODULE=php${PHPVERSION} \
--env PHPMODULE=php${PHPVERSION}-"Module"
or
-e PHPMODULE=php${PHPVERSION} \
-e PHPMODULE=php${PHPVERSION}-"Module" 

Tag summary

Content type

Image

Digest

Size

4.1 MB

Last updated

over 7 years ago

docker pull modinbah/nginx_reverse-proxy