From d7b34f0e4a243d8efd697dc290ec36940ce1b2f6 Mon Sep 17 00:00:00 2001 From: Bang <15622356989@163.com> Date: Wed, 22 Jun 2022 11:44:35 +0800 Subject: [PATCH 1/2] fix: update nginx config --- deploy/nginx/nginx.conf | 6 ++++++ index.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy/nginx/nginx.conf b/deploy/nginx/nginx.conf index 4659a92..2b43c8e 100644 --- a/deploy/nginx/nginx.conf +++ b/deploy/nginx/nginx.conf @@ -85,6 +85,12 @@ http { try_files $uri /index.html; } + + location /api/ { + proxy_pass https://opengaussplayground.osinfra.cn/; + } + + 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 0115753..57ffe1a 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - openGauss Tryme + openGauss TryMe
-- Gitee From 5e4b6ea147a711c504f4df39d7d31cfaa81eded3 Mon Sep 17 00:00:00 2001 From: Bang <15622356989@163.com> Date: Wed, 22 Jun 2022 12:01:27 +0800 Subject: [PATCH 2/2] fix: update config --- deploy/nginx/nginx.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy/nginx/nginx.conf b/deploy/nginx/nginx.conf index 2b43c8e..ff0b108 100644 --- a/deploy/nginx/nginx.conf +++ b/deploy/nginx/nginx.conf @@ -85,12 +85,10 @@ http { try_files $uri /index.html; } - location /api/ { - proxy_pass https://opengaussplayground.osinfra.cn/; + 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; -- Gitee