added debian samsung uld repo
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user