Alpine version of OpenResty with luarocks and many additional modules
- /etc/nginx/modules/*.conf (load_module)
- /etc/nginx/conf.d/*.conf (http)
- /etc/nginx/vhost/*.conf (server)
- /etc/nginx/stream/*.conf (stream)
- lua-var-nginx-module
- ngx_http_substitutions_filter_module
- nginx-http-auth-digest
- ngx_http_geoip2_module
- ngx_http_proxy_connect_module
- ngx_brotli
- nginx-sticky-module-ng
- stream_ssl_preread_module
- ModSecurity-nginx
- nginx-lua-prometheus
- lua-resty-aes
- lua-resty-auto-ssl
- lua-resty-cookie
- lua-resty-etcd
- lua-resty-hmac
- lua-resty-iconv
- lua-resty-ipmatcher
- lua-resty-jit-uuid
- lua-resty-jq
- lua-resty-jwt
- lua-resty-kafka
- lua-resty-libcjson
- lua-resty-ngxvar
- lua-resty-openssl
- lua-resty-prettycjson
- lua-resty-redis-connector
- lua-resty-requests
- lua-resty-rsa
- lua-resty-session
- lua-resty-template
- lua-resty-url
- lua-resty-validation
- lapis
Official OpenResty packaging source and scripts: https://github.com/openresty/openresty-packaging.git
This can be configured to work with the ingress-nginx
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/custom-http-errors: "404,403,500,502,503"
nginx.ingress.kubernetes.io/server-snippet: |
location /error_page/ {
proxy_pass http://ingress-nginx-defaultbackend.ingress-nginx.svc;
proxy_set_header X-Forwarded-For $remote_addr;
}