added debian samsung uld repo

This commit is contained in:
krumel
2022-02-27 15:14:28 +01:00
parent 079ee4857e
commit 85007c7959
2 changed files with 13 additions and 2 deletions

View File

@ -7,13 +7,13 @@ server {
location /scan {
content_by_lua_block {
os.execute("scanimage >/tmp/image.jpg")
os.execute("scanimage >/srv/scans/image.jpg")
ngx.redirect("/scan/image")
}
}
location /scan/image {
alias /tmp/image.jpg;
alias /srv/scans/image.jpg;
}
}