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 @@ -