bake htpasswd into image, remove coming-soon route and template
This commit is contained in:
+1
-2
@@ -27,8 +27,7 @@ COPY src/api/templates /var/www/html/api/templates/
|
||||
COPY src/api/components /var/www/html/api/components/
|
||||
COPY src/api/data /var/www/html/api/data/
|
||||
|
||||
ARG HTPASSWD_HASH
|
||||
RUN echo "bigbreath:${HTPASSWD_HASH}" > /etc/nginx/.htpasswd
|
||||
RUN echo 'bigbreath:$apr1$sTejUunq$56jg.DmHWEqrg7cbge2a20' > /etc/nginx/.htpasswd
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
&& echo 'expose_php = Off' > /usr/local/etc/php/conf.d/security.ini
|
||||
|
||||
Reference in New Issue
Block a user