Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 279c988

Browse files
author
Steffen Bleul
committed
Adjusting readme, deleting obsolete sections.
1 parent 01d5d90 commit 279c988

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

README.md

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,6 @@
22

33
[![Docker Stars](https://img.shields.io/docker/stars/blacklabelops/nginx.svg)](https://hub.docker.com/r/blacklabelops/nginx/) [![Docker Pulls](https://img.shields.io/docker/pulls/blacklabelops/nginx.svg)](https://hub.docker.com/r/blacklabelops/nginx/)
44

5-
## Important notice: The internal ports for this container changed from 8080 to 80 and 44300 to 443
6-
7-
## Important notice:
8-
9-
Due to some changes you have to omit a last "/" in your URL inside the parameter "SERVERxREVERSE_PROXY_PASS1"
10-
11-
Correct:
12-
13-
~~~~
14-
-e "SERVER1REVERSE_PROXY_PASS1=http://www.example.com" \
15-
~~~~
16-
17-
Incorrect:
18-
19-
~~~~
20-
-e "SERVER1REVERSE_PROXY_PASS1=http://www.example.com/" \
21-
~~~~
22-
23-
245
## Supported tags and respective Dockerfile links
256

267
| Version | Tag | Dockerfile |
@@ -370,27 +351,6 @@ Build the latest release with docker-compose:
370351
$ docker-compose build
371352
~~~~
372353

373-
# Container Permissions
374-
375-
Simply: You can set user-id and group-id matching to a user and group from your host machine!
376-
377-
Due to security considerations this image is not running in root mode! The Jenkins process user inside the container is `nginx` and the user's group is `nginx`. This project offers a simplified mechanism for user- and group-mapping. You can set the uid of the user and gid of the user's group during build time.
378-
379-
The process permissions are relevant when using volumes and mounted folders from the host machine. NGINX need read and write permissions on the host machine. You can set UID and GID of the NGINX's process during build time! UID and GID should resemble credentials from your host machine.
380-
381-
The following build arguments can be used:
382-
383-
* CONTAINER_UID: Set the user-id of the process. (default: 1000)
384-
* CONTAINER_GID: Set the group-id of the process. (default: 1000)
385-
386-
Example:
387-
388-
~~~~
389-
$ docker build --build-arg CONTAINER_UID=2000 --build-arg CONTAINER_GID=2000 -t blacklabelops/nginx .
390-
~~~~
391-
392-
> The container will write and read files with UID 2000 and GID 2000.
393-
394354
# Use Your Own Config File
395355

396356
Just mount or place your file at the position `/home/nginx/config.json`!

0 commit comments

Comments
 (0)