mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
[fix] Delete index.html + clean install
This commit is contained in:
parent
f89bd9ff69
commit
7c3e10d621
2 changed files with 0 additions and 29 deletions
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width initial-scale=1" />
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<title>Mopidy - __DOMAINNAME__</title>
|
||||
</head>
|
||||
<body data-country="fr" data-language="fr">
|
||||
<div class="wrapper">
|
||||
<header role="banner">
|
||||
<h1>Mopidy - __DOMAINNAME__</h1>
|
||||
</header>
|
||||
|
||||
<main role="main">
|
||||
<section>
|
||||
<div class="container">
|
||||
Musicbox Webclient is <a href="https://__DOMAINNAME__:6680/musicbox_webclient" title="Musicbox Webclient">here</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -92,12 +92,6 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
|||
|
||||
# Change file configuration for nginx
|
||||
sudo sed -i "s@__PATHTOCHANGE__@$path@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo sed -i "s@__DOMAINNAME__@$domain@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo sed -i "s@__FINALPATH__@$final_path@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Install index.html but it's not necessary
|
||||
sudo cp ../conf/index.html $final_path
|
||||
sudo sed -i "s@__DOMAINNAME__@$domain@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Check permission for $final_path
|
||||
sudo chown -R www-data $final_path
|
||||
|
|
Loading…
Add table
Reference in a new issue