33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 32a3d7a83d3f4023bb1594741deedaa4cb9c28d5 Mon Sep 17 00:00:00 2001
|
|
From: hugang <18768366022@163.com>
|
|
Date: Mon, 9 Sep 2024 19:48:53 +0800
|
|
Subject: [PATCH] build: update deploy file
|
|
|
|
---
|
|
authhub-web.service => oauth2_web/deploy/authhub-web.service | 0
|
|
oauth2_web/deploy/authhub.nginx.conf | 3 ++-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
rename authhub-web.service => oauth2_web/deploy/authhub-web.service (100%)
|
|
|
|
diff --git a/authhub-web.service b/oauth2_web/deploy/authhub-web.service
|
|
similarity index 100%
|
|
rename from authhub-web.service
|
|
rename to oauth2_web/deploy/authhub-web.service
|
|
diff --git a/oauth2_web/deploy/authhub.nginx.conf b/oauth2_web/deploy/authhub.nginx.conf
|
|
index d9567d7..f9720c3 100644
|
|
--- a/oauth2_web/deploy/authhub.nginx.conf
|
|
+++ b/oauth2_web/deploy/authhub.nginx.conf
|
|
@@ -14,7 +14,8 @@ server {
|
|
root /opt/authhub/web/dist;
|
|
expires 30d;
|
|
}
|
|
- location / {
|
|
+ location /authhub {
|
|
+ alias /opt/authhub/web/dist
|
|
try_files $uri $uri/ /index.html;
|
|
if (!-e $request_filename){
|
|
rewrite ^(.*)$ /index.html last;
|
|
--
|
|
Gitee
|
|
|