pastebin
pastebin copied to clipboard
Burn by default
Hi, Would it be possible to add a command line option to set "burn" mode by default? Thanks!
yes, it should be trivial todo. PRs are most welcome
I believe this could be done on nginx site, as per Stackoverflow. "burn" is controlled by burn=0
, so something like this should help:
location = / {
if ($args = "") {
set $args burn=1;
# or rewrite / /?arg1=val1 last;
}
if ($args !~ "burn=1") {
set $args $args&burn=1;
}
}