OASIS + JUKEBOX

This commit is contained in:
qo-op 2020-05-11 22:31:16 +02:00
parent dbb1fcf9ed
commit 0a3eff0de0
3 changed files with 12 additions and 7 deletions

View File

@ -5,7 +5,7 @@ bind_to_address "any"
auto_update "yes"
zeroconf_enabled "yes"
zeroconf_name "CopyLaRadio Music Recorder"
connection_timeout "120"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
###############################

View File

@ -59,6 +59,8 @@
<div class="container">
<a class="btn btn-primary" href="./cesium/index.html" target="cesium">Cesium</a>
<a class="btn btn-primary" href="./gchange/index.html" target="gchange">Gchange</a>
<a class="btn btn-primary" href="./jukebox/index.php" target="jukebox">Music</a>
<a class="btn btn-primary" href="./oasis" target="oasis">Oasis</a>
<a class="btn btn-primary" href="./g1billet/test.php" target="g1billets">G1Billets</a>
</div>
</nav>
@ -189,8 +191,6 @@
<div class="container">
<a class="btn btn-primary" href="./nextcloud" target="nextcloud">NextCloud</a>
<a class="btn btn-primary" href="./minetest" target="minetest">Minetest</a>
<a class="btn btn-primary" href="./jukebox/index.php" target="jukebox">Music</a>
<a class="btn btn-primary" href="./oasis" target="oasis">Oasis</a>
<a class="btn btn-primary" href="./ipfs" target="ipfs">IPFS</a>
</div>
</nav>

View File

@ -4,14 +4,19 @@ server {
listen [::]:80;
root /var/www/loveland;
index index.php index.html index.htm;
server_name _SERVERNAME_;
# This section can be copied into an existing default setup
location / {
allow all;
index index.php;
index index.php index.html index.htm;
error_page 404 = /error/404.html;
}
# This section can be copied into an existing default setup
location /jukebox {
allow all;
index index.php index.html index.htm;
location ~ \.php {
try_files $uri index.php =404;
fastcgi_pass unix:/var/run/php/php_PHPVERSION_-fpm.sock;
@ -20,7 +25,7 @@ server {
include /etc/nginx/fastcgi_params;
fastcgi_read_timeout 1800;
}
error_page 404 = /error/404.html;
error_page 404 = /error/404.php;
try_files $uri $uri/ =404;
location ~ /albumart/* {
expires -1s;