mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-24 06:49:41 -05:00
Update 45-nginx
This commit is contained in:
parent
96f746d5ce
commit
f3f295a09e
@ -1,9 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
# copy default config files if they don't exist
|
# copy default config files if they don't exist
|
||||||
if [[ ! -f /config/nginx/error_pages.conf ]]; then
|
|
||||||
cp /defaults/nginx/error_pages.conf.sample /config/nginx/error_pages.conf
|
|
||||||
fi
|
|
||||||
if [[ ! -f /config/nginx/proxy.conf ]]; then
|
if [[ ! -f /config/nginx/proxy.conf ]]; then
|
||||||
cp /defaults/nginx/proxy.conf.sample /config/nginx/proxy.conf
|
cp /defaults/nginx/proxy.conf.sample /config/nginx/proxy.conf
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user