Re: httpd (+ relayd ?) URL redirection, anyone?

2016-07-26 Thread Miles Keaton
Good find. Thank you! That helped a lot. This relayd.conf works now, if I switch httpd to listen to port 81: relayd_address="127.0.0.1" table { 127.0.0.1 } table { 127.0.0.1 } http protocol reverse_proxy { match request path "/hello" forward to match response header set "Connection"

Re: httpd (+ relayd ?) URL redirection, anyone?

2016-07-26 Thread Comète
26 juillet 2016 12:20 "Miles Keaton" a écrit: > Sorry to bother the list with this, but still stumped after two days. > > Trying to switch from nginx to httpd, but there's just one thing left: > > Having the webserver pass some URLs to another port: > > # working nginx

Re: httpd (+ relayd ?) URL redirection, anyone?

2016-07-26 Thread Solène RAPENNE
Le 2016-07-26 12:13, Miles Keaton a écrit : Sorry to bother the list with this, but still stumped after two days. Trying to switch from nginx to httpd, but there's just one thing left: Having the webserver pass some URLs to another port: # working nginx config: http { server { listen

httpd (+ relayd ?) URL redirection, anyone?

2016-07-26 Thread Miles Keaton
Sorry to bother the list with this, but still stumped after two days. Trying to switch from nginx to httpd, but there's just one thing left: Having the webserver pass some URLs to another port: # working nginx config: http { server { listen 80; # serving static here root

Re: relayd url redirection

2015-03-25 Thread Frederic URBAN
Hi all, I'm try to reproduce such a setup with relayd on OpenBSD 5.7-current. Many change between the latest stable and the -current... I followed changes in relayd.conf(5) but i'm still not able to get a working solution. This is a draft, my first contact with relayd. My objective is to use

relayd url redirection

2014-10-05 Thread Olivier Cherrier
Hi, Following http://marc.info/?l=openbsd-miscm=140508090726719w=2, I'm trying to implement a similar setup. relayd(8) is listening on a public IP. httpd(8) is listening on localhost:80 and apache-httpd-openbsd is listening on localhost:81. I would like to handle all traffic with

Re: relayd url redirection

2014-07-11 Thread Reyk Floeter
Hi, On Fri, Jun 20, 2014 at 10:35:13PM -0400, Predrag Punosevac wrote: I am seriously reading realyd man pages for the first time in my life. Namely I am after url suffix redirection. I will try to explain little bit better. I have close to 10 virtual hosts running behind OpenBSD firewall

Re: relayd url redirection

2014-07-11 Thread Predrag Punosevac
Reyk Floeter r...@openbsd.org wrote: Hi, On Fri, Jun 20, 2014 at 10:35:13PM -0400, Predrag Punosevac wrote: I am seriously reading realyd man pages for the first time in my life. Namely I am after url suffix redirection. I will try to explain little bit better. I have close to 10

Re: relayd url redirection

2014-06-27 Thread Predrag Punosevac
For people who might stumble on this thread I ended up using Nginx with a configuration file which looks similar to this. Predrag # $OpenBSD: nginx.conf,v 1.16 2014/01/28 14:48:53 stephan Exp $ #user www; worker_processes 4; #syslog local5 nginx; #error_log logs/error.log;

Re: relayd url redirection

2014-06-21 Thread Antoine Jacoutot
On Fri, Jun 20, 2014 at 10:35:13PM -0400, Predrag Punosevac wrote: I am seriously reading realyd man pages for the first time in my life. Namely I am after url suffix redirection. I will try to explain little bit better. I have close to 10 virtual hosts running behind OpenBSD firewall which

Re: relayd url redirection

2014-06-21 Thread Sebastian Benoit
Predrag Punosevac(punoseva...@gmail.com) on 2014.06.20 22:35:13 -0400: I am seriously reading realyd man pages for the first time in my life. Namely I am after url suffix redirection. I will try to explain little bit better. relayd cannot do this currently unfortunatly. /Benno

Re: relayd url redirection

2014-06-21 Thread vadimou
On 6/20/14, Predrag Punosevac punoseva...@gmail.com wrote: and so on. Until now I was using nginx as a proxy and port redirection I agree with Antoine. Read the nginx manual carefully. All you need is there.

relayd url redirection

2014-06-20 Thread Predrag Punosevac
I am seriously reading realyd man pages for the first time in my life. Namely I am after url suffix redirection. I will try to explain little bit better. I have close to 10 virtual hosts running behind OpenBSD firewall which has a single public IP address. My boss insists that all virtual hosts