Re: relayd to match http request according to path and change headers

2021-04-06 Thread Stephane Guedon
Le lundi 5 avril 2021, 20:55:20 CEST prx a écrit : > * Stephane Guedon le [04-04-2021 23:59:23 +0200]: > > Le dimanche 4 avril 2021 11:31:27 CEST, vous avez écrit : > > > Just a idea, have you tried the keyword request ? > > > > > > Something like > > > > > > match request path "/static/*"

Re: relayd to match http request according to path and change headers

2021-04-05 Thread prx
* Stephane Guedon le [04-04-2021 23:59:23 +0200]: > Le dimanche 4 avril 2021 11:31:27 CEST, vous avez écrit : > > Just a idea, have you tried the keyword request ? > > > > Something like > > > > match request path "/static/*" forward to > > > > Regards, > > > > Christoph > > > > Actually,

Re: relayd to match http request according to path and change headers

2021-04-04 Thread Stephane Guedon
Le dimanche 4 avril 2021 11:31:27 CEST, vous avez écrit : > Just a idea, have you tried the keyword request ? > > Something like > > match request path "/static/*" forward to > > Regards, > > Christoph > Actually, it's not at the forward stage that I have a problem, sorry if I explained

Re: relayd to match http request according to path and change headers

2021-04-04 Thread openbsd
Just a idea, have you tried the keyword request ? Something like match request path "/static/*" forward to Regards, Christoph Am 04.04.2021 10:13, schrieb Stephane Guedon: Good day. I have a setup in OpenBSD 6.8, relayd / httpd and wish to see if I can have specific http options or

relayd to match http request according to path and change headers

2021-04-04 Thread Stephane Guedon
Good day. I have a setup in OpenBSD 6.8, relayd / httpd and wish to see if I can have specific http options or headers depending on paths in the requests. Can I do "match path ..." and set headers ? Until now, all doc I read say you can set headers globally but not on specific paths. I can