Tagged with "tutorial"

Photo by Yichun Zhang

Set Different Host Headers for Upstream Requests in OpenResty Edge

Today I’d show how to configure a different Host header for the requests sent to the upstream or backend servers. In this... Read More »

Photo by Yichun Zhang

Redirect to different URIs Based on Clients' Language Settings (OpenResty Edge)

In this post, we will show how to redirect to different web pages based on the clients’ language settings. Let’s say we ... Read More »

Photo by Yichun Zhang

Enforce the use of SSL in websites via OpenResty Edge

Today I’d like to show how to enforce the use of SSL on your sites. That is, redirecting all user HTTP requests to their ... Read More »

Photo by Yichun Zhang

Issue Free SSL Certificates via Let's Encrypt in OpenResty Edge

Today I’d like to show how to automatically issue free SSL certificates via Let’s Encrypt in OpenResty Edge. As always, ... Read More »

Photo by Yichun Zhang

Upload SSL Certificates for HTTPS Sites in OpenResty Edge

Today I’d like to show how to upload your own SSL certificates to your HTTPS applications in OpenResty Edge. As always, ... Read More »

Photo by Yichun Zhang

Real-Time Purge HTTP Cache in OpenResty Edge

Today I’d like to show how to purge OpenResty Edge’s HTTP cache across the whole gateway network in real time. As always... Read More »

Photo by Yichun Zhang

Enable HTTP Cache in OpenResty Edge

Today I’d demonstrate how to enable HTTP response caching in OpenResty Edge. When the client requests hit the cache on t... Read More »

Photo by Yichun Zhang

Set up a Simplest Reverse Proxy and Load Balancer with OpenResty Edge

Today I’d demonstrate how to setup the simplest reverse proxy and load balancer in OpenResty Edge. We manage all the gat... Read More »

Photo by Ubuntu

Install OpenResty on Ubuntu 20.04 via apt-get

Today I’d like to demonstrate how to install OpenResty on Ubuntu 20.04 via apt-get. We’ll use this fresh install of Ubun... Read More »

Photo by Michal Matlon

Streaming HTTP Response Output in OpenResty

In this video, I’ll demonstrate how to do streaming HTTP response body output in OpenResty. 123cd ~/mkdir stream-resp/cd ... Read More »