mirror of
https://github.com/bitnami/containers.git
synced 2026-03-29 08:17:42 +08:00
amend port binding (#19)
* Amend port binding & update some links to NGINX
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user