Update 45-nginx

This commit is contained in:
Eric Nemchik 2022-09-02 12:28:18 -05:00 committed by GitHub
parent 96f746d5ce
commit f3f295a09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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