Sign inSign up

truespirit/openresty

By truespirit

•Updated over 2 years ago

Using openresty as authenticating proxy.

Image
0

613

truespirit/openresty repository overview

Trademarks: This software listing is packaged by me ;) The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Openresty as reverse authenticating Proxy

Build with these modules:

ARG RESTY_CONFIG_OPTIONS="
--with-compat
--with-file-aio
--with-http_addition_module
--with-http_auth_request_module
--with-http_dav_module
--with-http_flv_module
--with-http_geoip_module=dynamic
--with-http_gunzip_module
--with-http_gzip_static_module
--with-http_image_filter_module=dynamic
--with-http_mp4_module
--with-http_random_index_module
--with-http_realip_module
--with-http_secure_link_module
--with-http_slice_module
--with-http_ssl_module
--with-http_stub_status_module
--with-http_sub_module
--with-http_v2_module
--with-http_v3_module
--with-http_xslt_module=dynamic
--with-ipv6
--with-mail
--with-mail_ssl_module
--with-md5-asm
--with-sha1-asm
--with-stream
--with-stream_realip_module
--with-stream_ssl_preread_module
--with-stream_ssl_module
--with-threads
"

Adding https://github.com/api7/lua-resty-ipmatcher/blob/master/resty/ipmatcher.lua⁠

Example: local ip, err = ipmatcher.new({ "127.0.0.1", "192.168.0.0/16", "::1", "fe80::/16", })

local ok, err = ip:match("127.0.0.1") -- true

https://github.com/api7/lua-resty-ipmatcher/blob/master/README.md⁠

Tag summary

Content type

Image

Digest

sha256:8c109e547…

Size

135.2 MB

Last updated

over 2 years ago

docker pull truespirit/openresty:1.25.3.1-alpine-fat