1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

nginx/templates/iiab.conf.j2, usb_lib/files/upload/header.php, usb_lib/tasks/install.yml: move app out of local_content and into /library/www/html/

This commit is contained in:
root 2025-01-26 21:18:30 -05:00
parent 8cbcff710e
commit fb07b9e3e5
3 changed files with 9 additions and 9 deletions

View file

@ -5,11 +5,11 @@ location / {
location /usb {
alias /library/www/html/local_content/;
fancyindex on; # autoindex on;
add_before_body /usb/upload/button.html;
add_before_body /upload2usb/button.html;
}
location ~ ^/usb/upload/(.*)\.php$ {
alias /library/www/html/local_content/upload/$1.php;
location ~ ^/upload2usb/(.*)\.php$ {
alias /library/www/html/upload2usb/$1.php;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
@ -23,7 +23,7 @@ location ~ ^/usb/upload/(.*)\.php$ {
location /local_content/ {
fancyindex on; # autoindex on;
add_before_body /usb/upload/button.html;
add_before_body /upload2usb/button.html;
}
location /info {