mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-04-27 14:34:27 +09:00
Use standard nginx.conf from lsio alpine nginx base image
This commit is contained in:
12
root/etc/cont-init.d/41-samples
Normal file
12
root/etc/cont-init.d/41-samples
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# samples are removed on init by the nginx base
|
||||
|
||||
# copy new samples
|
||||
if [[ -d /defaults/nginx/proxy-confs/ ]]; then
|
||||
find /defaults/nginx/proxy-confs/ \
|
||||
-maxdepth 1 \
|
||||
-name "*.conf.sample" \
|
||||
-type f \
|
||||
-exec cp "{}" /config/nginx/proxy-confs/ +
|
||||
fi
|
||||
Reference in New Issue
Block a user