Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burn by default #28

Open
ronhanson opened this issue Jun 29, 2021 · 2 comments
Open

Burn by default #28

ronhanson opened this issue Jun 29, 2021 · 2 comments

Comments

@ronhanson
Copy link

Hi,
Would it be possible to add a command line option to set "burn" mode by default?
Thanks!

@mkaczanowski
Copy link
Owner

yes, it should be trivial todo. PRs are most welcome

@GAS85
Copy link

GAS85 commented Feb 27, 2023

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;
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants