Re: Django + httpd + relayd

2019-03-31 Thread Flipchan
How to create it with socat(not working with httpd): doas -uwww socat UNIX-LISTEN:/var/www/run/listen.sock,reuseadseaddr,fork, TCP:internetaddress:portgoeshere You can check it with curl: curl -v --unix-socket /var/www/run/listen.sock http:/robots.txt This is the fastcgi reverse

Re: Django + httpd + relayd

2019-03-31 Thread Родин Максим
Django + httpd is explained here: https://uwsgi.readthedocs.io/en/latest/OpenBSDhttpd.html?highlight=openbsd 30.03.2019 17:22, Michael Joy пишет: Apologies in advance for the noobish question. Does anyone have a tutorial or example of a working configuration for a Django app being served with

Re: Django + httpd + relayd

2019-03-30 Thread Daniel Gracia
El sáb., 30 mar. 2019 a las 20:40, Flipchan () escribió: > > Reyk if your reading this reverseproxy is a feature request for httpd. > Have you tried relayd(8)? Regards! > > Just set up a bunch off ur django stuff and have relayd redirect to the hosts > in a way you seem fit, like create a

Re: Django + httpd + relayd

2019-03-30 Thread Michael Joy
Thanks so much Flipchan. I'll give it a go. Feel free to send on any config examples relating to the fastcgi reverse proxy. All help much appreciated! On Sat, 30 Mar 2019 at 19:34, Flipchan wrote: > Reyk if your reading this reverseproxy is a feature request for httpd. > > > Just set up a bunch

Re: Django + httpd + relayd

2019-03-30 Thread Flipchan
Reyk if your reading this reverseproxy is a feature request for httpd. Just set up a bunch off ur django stuff and have relayd redirect to the hosts in a way you seem fit, like create a relay for http in the conf and write a table with the host n ports and forward it to the table, check out

Re: Django + httpd + relayd

2019-03-30 Thread Michael Joy
Sounds perfect. Any tips on how to get started with configuration and such? On Sat, 30 Mar 2019 at 15:19, Flipchan wrote: > You cant do a reverse proxy with httpd however you can do it ugly with a > fastcgi reverse proxy , httpd fastcgi reverseproxy to relayd and load > balance to mulitple

Re: Django + httpd + relayd

2019-03-30 Thread Flipchan
You cant do a reverse proxy with httpd however you can do it ugly with a fastcgi reverse proxy , httpd fastcgi reverseproxy to relayd and load balance to mulitple python listeners i have it working like a charm :) On March 30, 2019 3:22:47 PM GMT+01:00, Michael Joy wrote: >Apologies in

Django + httpd + relayd

2019-03-30 Thread Michael Joy
Apologies in advance for the noobish question. Does anyone have a tutorial or example of a working configuration for a Django app being served with httpd and relayd? Beating my head off the wall with it at this point.