mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Update to work with http://box/cups/
This commit is contained in:
parent
26d8c620fd
commit
da1d147fc9
1 changed files with 11 additions and 0 deletions
|
@ -7,4 +7,15 @@ location ~ /print/(.*) {
|
|||
sub_filter ' src="/' ' src="/print/';
|
||||
sub_filter_types *;
|
||||
sub_filter_once off;
|
||||
}
|
||||
|
||||
location ~ /cups/(.*) {
|
||||
proxy_pass http://127.0.0.1:631/$1;
|
||||
proxy_set_header Host '127.0.0.1';
|
||||
|
||||
sub_filter ' href="/' ' href="/cups/';
|
||||
sub_filter ' action="/' ' action="/cups/';
|
||||
sub_filter ' src="/' ' src="/cups/';
|
||||
sub_filter_types *;
|
||||
sub_filter_once off;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue