don't overwrite /etc/nginx/sites-available/default
This commit is contained in:
parent
361f276315
commit
fc18eecaf4
1 changed files with 4 additions and 1 deletions
|
@ -196,7 +196,10 @@ fi
|
||||||
# configure nginx
|
# configure nginx
|
||||||
if [ "$NGINX" == "local" ]; then
|
if [ "$NGINX" == "local" ]; then
|
||||||
|
|
||||||
cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/default"
|
cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/pandora"
|
||||||
|
rm /etc/nginx/sites-enabled/default
|
||||||
|
ln -s ../sites-available/pandora /etc/nginx/sites-enabled/pandora
|
||||||
|
|
||||||
read -r -d '' GZIP <<EOI
|
read -r -d '' GZIP <<EOI
|
||||||
gzip_static on;\\
|
gzip_static on;\\
|
||||||
\tgzip_http_version 1.1;\\
|
\tgzip_http_version 1.1;\\
|
||||||
|
|
Loading…
Reference in a new issue