mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
modify landing path
This commit is contained in:
parent
967d81ffdf
commit
1416a1297c
@ -23,7 +23,7 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
root /etc/websoft9/landing;
|
||||
root /data/nginx/default_www/landing;
|
||||
index index.html
|
||||
# Proxy!
|
||||
include conf.d/include/proxy.conf;
|
||||
|
@ -8,6 +8,13 @@ if [ ! -d /data/nginx/default_host ]; then mkdir -p /data/nginx/default_host; fi
|
||||
cp -f /etc/websoft9/initproxy.conf /data/nginx/default_host/initproxy.conf
|
||||
[ -f /etc/websoft9/initproxy.conf ] && rm -f /data/nginx/proxy_host/initproxy.conf
|
||||
|
||||
# Deploy Websoft9 landing pages
|
||||
if [ ! -d /data/nginx/default_www/landing ]; then
|
||||
mkdir -p /data/nginx/default_www/
|
||||
cp -r /etc/websoft9/landing /data/nginx/default_www/
|
||||
else
|
||||
echo "/data/nginx/default_www/landing already exists."
|
||||
fi
|
||||
|
||||
# If credential file then create it and init credential for NPM
|
||||
# Reload NPM docker image Environments
|
||||
|
Loading…
Reference in New Issue
Block a user