diff --git a/authproxy/Dockerfile b/authproxy/Dockerfile deleted file mode 100644 index 8b8dac75..00000000 --- a/authproxy/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM nginx:stable-alpine - -COPY nginx.conf /etc/nginx/nginx.conf -COPY proxy.conf /app/proxy.conf - -ENV PORT=8888 -ENV PROXY_PASS="" -ENV USER_NAME="" -ENV USER_GROUPS="" - -EXPOSE ${PORT} - -CMD envsubst < /app/proxy.conf > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;' diff --git a/authproxy/nginx.conf b/authproxy/nginx.conf deleted file mode 100644 index 57af12a8..00000000 --- a/authproxy/nginx.conf +++ /dev/null @@ -1,23 +0,0 @@ -worker_processes auto; - -error_log /var/log/nginx/error.log warn; -pid /app/nginx.pid; - -events { - worker_connections 1024; -} - -http { - include /etc/nginx/mime.types; - default_type application/octet-stream; - - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - - access_log /var/log/nginx/access.log main; - - keepalive_timeout 65; - - include /etc/nginx/conf.d/*.conf; -} diff --git a/authproxy/proxy.conf b/authproxy/proxy.conf deleted file mode 100644 index 662381a1..00000000 --- a/authproxy/proxy.conf +++ /dev/null @@ -1,10 +0,0 @@ -server { - listen ${PORT}; - - location / { - proxy_pass ${PROXY_PASS}; - proxy_set_header X-Auth-UserName ${USER_NAME}; - proxy_set_header X-Auth-Groups ${USER_GROUPS}; - } -} -