fix and update
This commit is contained in:
@@ -24,10 +24,6 @@ const nextConfig: NextConfig = {
|
||||
source: '/idp-api/:path*',
|
||||
destination: `${internalApiUrl}/:path*`
|
||||
},
|
||||
{
|
||||
source: '/auth/:path*',
|
||||
destination: `${internalApiUrl}/auth/:path*`
|
||||
},
|
||||
{
|
||||
source: '/oauth/:path*',
|
||||
destination: `${internalApiUrl}/oauth/:path*`
|
||||
|
||||
11
install.sh
11
install.sh
@@ -10,7 +10,7 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_VERSION="2.3.7"
|
||||
SCRIPT_VERSION="2.3.8"
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
@@ -2095,10 +2095,9 @@ EOF
|
||||
}
|
||||
|
||||
build_nginx_idp_api_proxy_block() {
|
||||
local proxy_ws proxy_idp proxy_auth proxy_oauth proxy_wk proxy_fedcm
|
||||
local proxy_ws proxy_idp proxy_oauth proxy_wk proxy_fedcm
|
||||
proxy_ws="$(render_proxy_rewrite ws /ws)"
|
||||
proxy_idp="$(render_proxy_idp_api)"
|
||||
proxy_auth="$(render_proxy_root api)"
|
||||
proxy_oauth="$(render_proxy_root api)"
|
||||
proxy_wk="$(render_proxy_root api)"
|
||||
proxy_fedcm="$(render_proxy_root api)"
|
||||
@@ -2121,12 +2120,6 @@ ${proxy_idp}
|
||||
${nginx_proxy_headers}
|
||||
}
|
||||
|
||||
location /auth/ {
|
||||
${proxy_auth}
|
||||
proxy_http_version 1.1;
|
||||
${nginx_proxy_headers}
|
||||
}
|
||||
|
||||
location /oauth/ {
|
||||
${proxy_oauth}
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user