create a seprate folder for samples
This commit is contained in:
parent
0109a07cfb
commit
b74ccd860d
@ -136,12 +136,13 @@ RUN \
|
|||||||
mv /etc/fail2ban/filter.d /defaults/fail2ban/ && \
|
mv /etc/fail2ban/filter.d /defaults/fail2ban/ && \
|
||||||
echo "**** copy proxy confs to /default ****" && \
|
echo "**** copy proxy confs to /default ****" && \
|
||||||
mkdir -p /defaults/proxy-confs && \
|
mkdir -p /defaults/proxy-confs && \
|
||||||
|
mkdir -p /defaults/proxy-confs-samples && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/tmp/proxy.tar.gz -L \
|
/tmp/proxy.tar.gz -L \
|
||||||
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
||||||
tar xf \
|
tar xf \
|
||||||
/tmp/proxy.tar.gz -C \
|
/tmp/proxy.tar.gz -C \
|
||||||
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
|
/defaults/proxy-confs-samples --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
|
||||||
echo "**** configure nginx ****" && \
|
echo "**** configure nginx ****" && \
|
||||||
rm -f /etc/nginx/http.d/default.conf && \
|
rm -f /etc/nginx/http.d/default.conf && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
|||||||
@ -136,12 +136,13 @@ RUN \
|
|||||||
mv /etc/fail2ban/filter.d /defaults/fail2ban/ && \
|
mv /etc/fail2ban/filter.d /defaults/fail2ban/ && \
|
||||||
echo "**** copy proxy confs to /default ****" && \
|
echo "**** copy proxy confs to /default ****" && \
|
||||||
mkdir -p /defaults/proxy-confs && \
|
mkdir -p /defaults/proxy-confs && \
|
||||||
|
mkdir -p /defaults/proxy-confs-samples && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/tmp/proxy.tar.gz -L \
|
/tmp/proxy.tar.gz -L \
|
||||||
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
||||||
tar xf \
|
tar xf \
|
||||||
/tmp/proxy.tar.gz -C \
|
/tmp/proxy.tar.gz -C \
|
||||||
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
|
/defaults/proxy-confs-samples --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
|
||||||
echo "**** configure nginx ****" && \
|
echo "**** configure nginx ****" && \
|
||||||
rm -f /etc/nginx/http.d/default.conf && \
|
rm -f /etc/nginx/http.d/default.conf && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
|||||||
@ -136,12 +136,13 @@ RUN \
|
|||||||
mv /etc/fail2ban/filter.d /defaults/fail2ban/ && \
|
mv /etc/fail2ban/filter.d /defaults/fail2ban/ && \
|
||||||
echo "**** copy proxy confs to /default ****" && \
|
echo "**** copy proxy confs to /default ****" && \
|
||||||
mkdir -p /defaults/proxy-confs && \
|
mkdir -p /defaults/proxy-confs && \
|
||||||
|
mkdir -p /defaults/proxy-confs-samples && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/tmp/proxy.tar.gz -L \
|
/tmp/proxy.tar.gz -L \
|
||||||
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
|
||||||
tar xf \
|
tar xf \
|
||||||
/tmp/proxy.tar.gz -C \
|
/tmp/proxy.tar.gz -C \
|
||||||
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
|
/defaults/proxy-confs-samples --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
|
||||||
echo "**** configure nginx ****" && \
|
echo "**** configure nginx ****" && \
|
||||||
rm -f /etc/nginx/http.d/default.conf && \
|
rm -f /etc/nginx/http.d/default.conf && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user