figured it out using lua-resty-http i created a simple lua script which checks both uris and returns the correct url for the active one: local http = require "resty.http" local httpc = http.new() local res1, err1 = httpc:request_uri("https://authelia1.domain.net", { method = "GET", keepalive_timeout = 60000, keepalive_pool = 10, ssl_verify = false }) if resby davama - Nginx Mailing List - English
Hello, Hope you are doing well. We currently use Authelia to authenticate users but want to add a redundant Authelia server so that users can continue to access the content. Put simply our current nginx config is: server { location / { auth_request /authelia; error_page 401 =302 https://authelia1.domain.net/?rd=$target_url https://authelia_cluster/?rd=$%7BDOLLAR%7Dtarget_url; } seby davama - Nginx Mailing List - English
Hello, Im trying to configure a reverse proxy which would act as a frontend for all internal applications hosted on different servers. On the reverse proxy, each internal application would be served inside a sub-folder. The URL scheme would be `https://frontend.net/internal_app` which would proxy to any `https://internal-app` or `https://internal-app/app` For example: server { server_naby davama - How to...