diff --git a/deploy/nginx/nginx.conf b/deploy/nginx/nginx.conf index 4659a92fe80db184cd882cce559aa92a6b1e0cd8..ff0b108e43fd1f010f6691a880b5481aa6caa3a4 100644 --- a/deploy/nginx/nginx.conf +++ b/deploy/nginx/nginx.conf @@ -85,6 +85,10 @@ http { try_files $uri /index.html; } + location /api/ { + proxy_pass https://tryme.opengauss.org/; + } + error_page 500 501 502 503 504 505 /500.html; error_page 401 /401.html; error_page 404 /404.html; diff --git a/index.html b/index.html index 01157536d8d019a93472121da271231d45a021cd..57ffe1a523450fe7a095fec109596c15c8c8f6ff 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - openGauss Tryme + openGauss TryMe