fastcgi_param SCRIPT_FILENAME ${dollar}document_root/ydlpd.sh;
}
+ location = /ydlpd.css {
+ try_files /ydlpd.css =404;
+ }
+
location / {
proxy_pass http://127.0.0.1:4080;
proxy_redirect off;
--- /dev/null
+#ydlpd {
+ width: 100%;
+}
+#ydlpd fieldset {
+ background-color: #7fa99b;
+ border: solid;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-evenly;
+ row-gap: 5px;
+ width: 100%;
+}
+#ydlpd input {
+ width: 100%;
+}
+#ydlpd select, button {
+ font-size: .7em;
+ height: 100%;
+ padding: 5px;
+}
+#ydlpd .container {
+ display: flex;
+ justify-content: space-evenly;
+}
. /etc/environment
+# Miniflux page's configuration does not permit defining CSS in <style> or
+# inline. However, it can be defined in a stylesheet file.
PAGE=$(echo "\
+<link rel='stylesheet' href='/ydlpd.css'>
<form id='ydlpd' action='https://yt.${private_domain}/download'>
<fieldset>
<input type='text' id='url' name='url' value='${URL}' required />