How to reverse_proxy if not file?

Thank you very much! It’s more clear for me now.

There is a problem with your solution – order. I found it — V2: Unrecognized directive not, and use:

@notStatic {
    not {
        file {
            try_files {path}
        }
    }
}
reverse_proxy @notStatic node:8080
file_server 

And this works :ok_hand:

1 Like