mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-02-02 09:35:03 -05:00
10 lines
325 B
Plaintext
10 lines
325 B
Plaintext
#!/usr/bin/with-contenv bash
|
||
|
||
# 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
|
||
cp /defaults/nginx/proxy.conf.sample /config/nginx/proxy.conf
|
||
fi
|