Skip to content

colby/printerfacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Printerfacts

$ pacman -S nginx openbsd-netcat
$ cat /etc/nginx/conf.d/printer.conf
server {
    ...
    location ^/(print|printer|printers)/ {
        add_header Content-Type text/plain;
        proxy_pass https://127.0.0.1:9991;
    }
}
$ ./print &
$ curl localhost/printers
Printers live longer when they stay indoors.