Code Monkey home page Code Monkey logo

openresty-docker's Introduction

GitHub release (with filter) Docker Image Version (tag latest semver) Docker Image CI

OpenResty

Alpine version of OpenResty with luarocks and many additional modules

Config Files

  • /etc/nginx/modules/*.conf (load_module)
  • /etc/nginx/conf.d/*.conf (http)
  • /etc/nginx/vhost/*.conf (server)
  • /etc/nginx/stream/*.conf (stream)

Additional modules

  • 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

Installed lua modules

  • 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


defaultbackend

This can be configured to work with the ingress-nginx

Ingress

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;
      }

See also https://github.com/tarampampam/error-pages

openresty-docker's People

Contributors

moechs avatar

Stargazers

Mustafa Yalçın avatar  avatar  avatar

Watchers

 avatar

Forkers

ateliersjp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.