From 263de817c99ae52af61c05cba00f95c38e5f9601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BB=BA=E5=B9=B3?= Date: Thu, 27 Feb 2025 14:43:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=EF=BC=8C=E6=8F=90=E5=8D=87=E5=AE=89=E5=85=A8=E6=80=A7?= =?UTF-8?q?=EF=BC=8C=E5=BC=BA=E5=BC=BA=E8=81=94=E6=89=8B=EF=BC=8C=E5=AE=8C?= =?UTF-8?q?=E7=BE=8E=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pr_manager/urls.py | 4 ++-- static/nginx/pr.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pr_manager/urls.py b/pr_manager/urls.py index 159fc97..763f25e 100644 --- a/pr_manager/urls.py +++ b/pr_manager/urls.py @@ -24,8 +24,8 @@ urls_v1 = [ ] urlpatterns = [ - path("", admin.site.urls), - # path("admin/", admin.site.urls), + # path("", admin.site.urls), + path("admin/", admin.site.urls), path('sp/', include('simplepro.urls')), path("api/v1/", include(urls_v1)), ] diff --git a/static/nginx/pr.conf b/static/nginx/pr.conf index 3f7febd..f8fce2c 100644 --- a/static/nginx/pr.conf +++ b/static/nginx/pr.conf @@ -15,6 +15,6 @@ server { proxy_set_header Access-Control-Allow-Origin *; proxy_set_header Access-Control-Allow-Methods *; proxy_set_header Access-Control-Allow-Headers *; - proxy_pass http://172.17.0.1:18000; + proxy_pass http://172.17.0.1:18000/admin; } } \ No newline at end of file