Restrict IP address for a reverse_proxy

following up on a similar question.
In my case I will like to restrict only for a path {
@allowed remote_ip
handle @allowed /api/ {
reverse_proxy myapp:8080

# Fallback for otherwise not matched handles
handle {


would the above work??

Please fill out the help topic template, as per the forum rules.

And please mind your post formatting, it’s very hard to read your config because you didn’t use code blocks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.