Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Share acl across frontends / backends

$
0
0

In a configuration that share the same acl across all the frontends and backends like this example one:

frontend front1
        ...
        acl static1 path_end .jpg .gif .png .js .css .svg
        http-request ... if static1
        ...
backend back1
        ...
        acl static1 path_end .jpg .gif .png .js .css .svg
	    ignore-persist if static1
        ...
backend back2
        ...
        acl static1 path_end .jpg .gif .png .js .css .svg
	    ignore-persist if static1
        ...

Is there an alternative to avoid define the list of file extensions (in this case) each time?

Thanks,

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>