From 3ab4dfff36e101cdcefc0db393d878c79ec15dd8 Mon Sep 17 00:00:00 2001 From: significance Date: Mon, 23 Mar 2020 07:54:13 +0000 Subject: [PATCH] amend port binding (#19) * Amend port binding & update some links to NGINX --- bitnami/wordpress-nginx/README.md | 7 +++---- bitnami/wordpress-nginx/wordpress-server-block.conf | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bitnami/wordpress-nginx/README.md b/bitnami/wordpress-nginx/README.md index f7542659f3d1..436c2de4a42b 100644 --- a/bitnami/wordpress-nginx/README.md +++ b/bitnami/wordpress-nginx/README.md @@ -380,10 +380,9 @@ The Bitnami WordPress with NGINX Docker image is designed to be extended so it c Before extending this image, please note there are certain configuration settings you can modify using the original image: -- Settings that can be adapted using environment variables. For instance, you can change the ports used by Apache for HTTP and HTTPS, by setting the environment variables `APACHE_HTTP_PORT_NUMBER` and `APACHE_HTTPS_PORT_NUMBER` respectively. -- [Adding custom virtual hosts](https://github.com/bitnami/bitnami-docker-apache#adding-custom-virtual-hosts). -- [Replacing the 'httpd.conf' file](https://github.com/bitnami/bitnami-docker-apache#full-configuration). -- [Using custom SSL certificates](https://github.com/bitnami/bitnami-docker-apache#using-custom-ssl-certificates). +- Settings that can be adapted using environment variables. For instance, you can change the ports used by Nginx for HTTP and HTTPS, by setting the environment variables `NGINX_HTTP_PORT_NUMBER` and `NGINX_HTTPS_PORT_NUMBER` respectively. +- [Replacing the 'httpd.conf' file](https://github.com/bitnami/bitnami-docker-nginx#full-configuration). +- [Using custom SSL certificates](https://github.com/bitnami/bitnami-docker-nginx#using-custom-ssl-certificates). If your desired customizations cannot be covered using the methods mentioned above, extend the image. To do so, create your own image using a Dockerfile with the format below: diff --git a/bitnami/wordpress-nginx/wordpress-server-block.conf b/bitnami/wordpress-nginx/wordpress-server-block.conf index 710be81729ac..e4e0104ad1a8 100644 --- a/bitnami/wordpress-nginx/wordpress-server-block.conf +++ b/bitnami/wordpress-nginx/wordpress-server-block.conf @@ -1,5 +1,5 @@ server { - listen 0.0.0.0:80; + listen 0.0.0.0:8080; server_name myapp.example.com; root /opt/bitnami/wordpress;