mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-10-26 05:26:47 +09:00
Use standard nginx.conf from lsio alpine nginx base image
This commit is contained in:
1 parent
e6628f05c3
commit
6123952de7
36 files changed
+520
-837
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
if [[ ! -f /config/www/502.html ]]; then
|
||||
cp /defaults/www/502.html /config/www/502.html
|
||||
fi
|
||||
Reference in new issue
Block a user