Compare commits
2 Commits
0a497ef350
...
d733f15917
| Author | SHA1 | Date | |
|---|---|---|---|
| d733f15917 | |||
| 65aa3df868 |
@ -20,8 +20,8 @@ console.log(query);
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- <button type=button onClick="restart('sudo systemctl restart minidlna.service')">MiniDLNA</button> -->
|
<button type=button onClick="restart('sudo systemctl restart minidlna.service')">MiniDLNA</button>
|
||||||
<button type=button onClick="restart('ls -al')">MiniDLNA</button>
|
<!-- <button type=button onClick="restart('ls -al')">MiniDLNA</button> -->
|
||||||
<div id="result">
|
<div id="result">
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@ -6,9 +6,10 @@ location __PATH__/ {
|
|||||||
|
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
try_files $uri index.html;
|
|
||||||
|
|
||||||
location ~ \.php {
|
location ~ \.php {
|
||||||
|
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user