NGINXRestructuring a Monolithfastcgi PHPSecure NGINXssl_serverHTTP LBNGINX reverse proxy SSHRunning as non-rootnginx and php socketOpenResty® - Official SiteOpenResty ® is a full-fledged web platform that integrates our enhanced version of the Nginx core, our enhanced version of LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.https://openresty.org/en/auth_requestWhat we used for DN2KAuth Request ExampleExternal User Authhttps://github.com/vouch/vouch-proxySubrequest Auth Server web-socketUsing NGINX as WebSocket ProxyFrom Yacht setupproxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade";