From 5df942a52c43fdd312277f0c427c1f5cbd169690 Mon Sep 17 00:00:00 2001 From: mr-bolle Date: Tue, 20 Nov 2018 15:21:36 +0100 Subject: [PATCH 1/8] remove NGINX_FILES_PATH if this path are blank, the nginx Files are stored to the current path `$PWD/data` --- .env.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.sample b/.env.sample index 9d546a2..0ceda0a 100644 --- a/.env.sample +++ b/.env.sample @@ -44,7 +44,7 @@ NETWORK=webproxy # # NGINX file path # -NGINX_FILES_PATH=/path/to/your/nginx/data +NGINX_FILES_PATH= # # NGINX use special conf files From f4d01ae686b2ab9a41d499a660caeada288a5578 Mon Sep 17 00:00:00 2001 From: mr-bolle Date: Tue, 20 Nov 2018 15:29:00 +0100 Subject: [PATCH 2/8] remove NGINX_FILES_PATH --- .github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index b1f834a..a25d55b 100644 --- a/.github/README.md +++ b/.github/README.md @@ -81,7 +81,7 @@ NETWORK=webproxy # # NGINX file path # -NGINX_FILES_PATH=/path/to/your/nginx/data +NGINX_FILES_PATH= # # NGINX use special conf files From 8a7977ad80f33f11eb1c4c5e11dbc4df7991bfda Mon Sep 17 00:00:00 2001 From: mr-bolle Date: Tue, 20 Nov 2018 17:22:16 +0100 Subject: [PATCH 3/8] adjust the NGINX file path --- .env.sample | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.env.sample b/.env.sample index 0ceda0a..8aa72c4 100644 --- a/.env.sample +++ b/.env.sample @@ -42,9 +42,23 @@ NETWORK=webproxy #SERVICE_NETWORK_OPTIONS="--opt encrypted=true" # -# NGINX file path -# -NGINX_FILES_PATH= +## NGINX file path (mount into the host) +# Here you can configure the path where nginx stores the configuration, certificates. +# With the value ./nginx-data it would be create a new sub-folder into your current path. + +NGINX_FILES_PATH=./nginx-data + +## NGINX file path (use a virtual volume for this data) +# If you don't what to mount this path on your host, you can adjust to nginx-data +# (that it works you have to set the volume into your docker-compose.yml) + +# change NGINX_FILES_PATH=./nginx-data to # NGINX_FILES_PATH=./nginx-data +# and remove the # below +# NGINX_FILES_PATH=nginx-data + +# that it works, you have to add follow volume into your docker-compose.yml +# volumes: +# nginx-data: # # NGINX use special conf files From fd6a995018aee98d0b8c257b8d5c514b35f510d7 Mon Sep 17 00:00:00 2001 From: mr-bolle Date: Tue, 20 Nov 2018 17:22:57 +0100 Subject: [PATCH 4/8] adjust the NGINX file path --- .github/README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/README.md b/.github/README.md index a25d55b..348a6ef 100644 --- a/.github/README.md +++ b/.github/README.md @@ -79,9 +79,24 @@ NETWORK=webproxy #SERVICE_NETWORK_OPTIONS="--opt encrypted=true" # -# NGINX file path -# -NGINX_FILES_PATH= +## NGINX file path (mount into the host) +# Here you can configure the path where nginx stores the configuration, certificates. +# With the value ./nginx-data it would be create a new sub-folder into your current path. + +NGINX_FILES_PATH=./nginx-data + +## NGINX file path (use a virtual volume for this data) +# If you don't what to mount this path on your host, you can adjust to nginx-data +# (that it works you have to set the volume into your docker-compose.yml) + +# change NGINX_FILES_PATH=./nginx-data to # NGINX_FILES_PATH=./nginx-data +# and remove the # below +# NGINX_FILES_PATH=nginx-data + +# that it works, you have to add follow volume into your docker-compose.yml +# volumes: +# nginx-data: + # # NGINX use special conf files From 9538103ee68daf72a85c249d3a7180aedeeca15f Mon Sep 17 00:00:00 2001 From: mr-bolle Date: Tue, 20 Nov 2018 23:22:29 +0100 Subject: [PATCH 5/8] Update README.md change the default nginx path --- .github/README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/README.md b/.github/README.md index 348a6ef..4856adc 100644 --- a/.github/README.md +++ b/.github/README.md @@ -85,19 +85,6 @@ NETWORK=webproxy NGINX_FILES_PATH=./nginx-data -## NGINX file path (use a virtual volume for this data) -# If you don't what to mount this path on your host, you can adjust to nginx-data -# (that it works you have to set the volume into your docker-compose.yml) - -# change NGINX_FILES_PATH=./nginx-data to # NGINX_FILES_PATH=./nginx-data -# and remove the # below -# NGINX_FILES_PATH=nginx-data - -# that it works, you have to add follow volume into your docker-compose.yml -# volumes: -# nginx-data: - - # # NGINX use special conf files # From a271a583fbe97681f7cf97d903b6c3d91e87f5c0 Mon Sep 17 00:00:00 2001 From: mr-bolle Date: Tue, 20 Nov 2018 23:22:53 +0100 Subject: [PATCH 6/8] Update .env.sample --- .env.sample | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.env.sample b/.env.sample index 8aa72c4..29c0837 100644 --- a/.env.sample +++ b/.env.sample @@ -48,18 +48,6 @@ NETWORK=webproxy NGINX_FILES_PATH=./nginx-data -## NGINX file path (use a virtual volume for this data) -# If you don't what to mount this path on your host, you can adjust to nginx-data -# (that it works you have to set the volume into your docker-compose.yml) - -# change NGINX_FILES_PATH=./nginx-data to # NGINX_FILES_PATH=./nginx-data -# and remove the # below -# NGINX_FILES_PATH=nginx-data - -# that it works, you have to add follow volume into your docker-compose.yml -# volumes: -# nginx-data: - # # NGINX use special conf files # From d4ccff49f27149dfa443cf3b67a4cff5193a789f Mon Sep 17 00:00:00 2001 From: Evert Ramos Date: Tue, 20 Nov 2018 23:02:52 -0200 Subject: [PATCH 7/8] Update .env.sample --- .env.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.sample b/.env.sample index 29c0837..aa68c74 100644 --- a/.env.sample +++ b/.env.sample @@ -43,8 +43,8 @@ NETWORK=webproxy # ## NGINX file path (mount into the host) -# Here you can configure the path where nginx stores the configuration, certificates. -# With the value ./nginx-data it would be create a new sub-folder into your current path. +# Here you can configure the path where nginx stores all the configurations and certificates. +# With the value ./nginx-data it creates a new sub-folder into your current path. NGINX_FILES_PATH=./nginx-data From 82c62aa0ead54eb8e768cfa0b84e11cf9b72c0cc Mon Sep 17 00:00:00 2001 From: Evert Ramos Date: Tue, 20 Nov 2018 23:03:28 -0200 Subject: [PATCH 8/8] Update README.md --- .github/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/README.md b/.github/README.md index 4856adc..96c91a5 100644 --- a/.github/README.md +++ b/.github/README.md @@ -80,8 +80,8 @@ NETWORK=webproxy # ## NGINX file path (mount into the host) -# Here you can configure the path where nginx stores the configuration, certificates. -# With the value ./nginx-data it would be create a new sub-folder into your current path. +# Here you can configure the path where nginx stores all the configurations and certificates. +# With the value ./nginx-data it creates a new sub-folder into your current path. NGINX_FILES_PATH=./nginx-data