Browse Source

Update alpine nginx config

pull/672/head
Tim Kimber 5 years ago
parent
commit
c5c2b0e7be
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      test/Dockerfile-alpine
  2. +2
    -0
      test/test_helper.bash

+ 1
- 1
test/Dockerfile-alpine View File

@ -7,7 +7,7 @@ RUN apk --no-cache add supervisor openssl git curl bind-tools drill wget nginx b
WORKDIR /root
# Create nginx directories in standard places
RUN mkdir /run/nginx
RUN mkdir -p /run/nginx
RUN mkdir -p /etc/nginx/pki/private
# Setup ftp


+ 2
- 0
test/test_helper.bash View File

@ -92,6 +92,8 @@ fi
# Find NGINX configuration directory for HTTP-01 testing (need to add SSL to config)
if [[ -f /etc/nginx/conf.d/default.conf ]]; then
export NGINX_CONFIG=/etc/nginx/conf.d/default.conf
elif [[ -f /etc/nginx/http.d/default.conf ]]; then
export NGINX_CONFIG=/etc/nginx/http.d/default.conf
elif [[ -f /etc/nginx/sites-enabled/default ]]; then
export NGINX_CONFIG=/etc/nginx/sites-enabled/default
else


Loading…
Cancel
Save