Skip to main content

Show HN: How to create an echo server with Pipy proxy https://ift.tt/KgP8nqs

Show HN: How to create an echo server with Pipy proxy In this part of tutorial, you will learn how dynamic content can be made in responses from a Pipy program. You will also tast a bit of how variables work in Pipy. Takeaways Filter parameters are only evaluated once so they have a "static" value at runtime. To make them "dynamic", they need to be functions that output dynamic values. Global variables have isolated states between concurrent pipelines. One of the builtin global variables is __inbound, which contains address/port information about the current incoming connection. More details, please refer to [https://ift.tt/S2nI0Ej] March 26, 2022 at 10:45AM

Comments

Popular posts from this blog

Show HN: KittenDNS – easy to setup, rule engine, LetsEncrypt compatible https://ift.tt/JEbrc0i

Show HN: KittenDNS – easy to setup, rule engine, LetsEncrypt compatible My goal was to create a DNS server as simple as the LDAP server I've been contributing to (glauth) and here it is: https://ift.tt/i6S4IHQ A few things to know about it: - It is easy to configure using a Toml file - I am using it to bail my coredns/etcd instances when under attack - (yes, it also works as a service location server) - It comes with a simple, plain English, rule engine that doesn't do much at this point - It can be used with LetsEncrypt. I use it to retrieve certificates for my home servers. - RFC: all the nice ones :) Anyway, feedback is welcome. May 16, 2022 at 03:34AM