Saturday, March 30, 2019

Re: Django + httpd + relayd

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 <flipchan@riseup.net> wrote:

> 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
> hugo's project hiawatha it comes with alot of nice features and it will get
> rid of the ugly reverse proxy hack cuz it has a native build in reverse
> proxy, i can send you how i solved the fastcgi reverse proxy its basicly
> httpd listens on a fastcgi socket that is a reverseproxy, i tried just
> creating a reverse unix socket but httpd will not work with that so fastcgi
> socket only it seems like.
>
> Good luck
>
>
>
> On March 30, 2019 4:29:46 PM GMT+01:00, Michael Joy <michael@michaeljoy.eu>
> wrote:
>>
>> Sounds perfect. Any tips on how to get started with configuration and such?
>>
>> On Sat, 30 Mar 2019 at 15:19, Flipchan <flipchan@riseup.net> 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 python listeners i have it working like a charm :)
>>>
>>> On March 30, 2019 3:22:47 PM GMT+01:00, Michael Joy <michael@michaeljoy.eu>
>>> wrote:
>>>
>>>>
>>>> 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.
>>>>
>>>>
>>>> --
>>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>>>
>>>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>

No comments:

Post a Comment