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

Update cups.conf

This commit is contained in:
Blondel MONDESIR 2021-05-01 18:38:18 -04:00 committed by GitHub
parent 8b8949de67
commit 6e4984cdba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
location ~ /cups/(.*) {
proxy_pass https://127.0.0.1:631/$1;
server {
listen 631;
location ~ /cups/(.*) {
proxy_pass http://127.0.0.1:631/$1;
proxy_http_version 1.1;
proxy_set_header Accept-Encoding "";
@ -15,4 +17,5 @@ location ~ /cups/(.*) {
sub_filter ' src="/' ' src="/cups/';
sub_filter_types *;
sub_filter_once off;
}
}