From 929addbdf8e10f9bd1a8fcb210a09c35885a1c3a Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期六, 31 八月 2024 09:57:04 +0800
Subject: [PATCH] 添加nacos密钥

---
 docker-compose/nacos/conf/application.properties |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docker-compose/nacos/conf/application.properties b/docker-compose/nacos/conf/application.properties
index f6169c8..86a2238 100644
--- a/docker-compose/nacos/conf/application.properties
+++ b/docker-compose/nacos/conf/application.properties
@@ -149,25 +149,25 @@
 nacos.core.auth.system.type=nacos
 
 ### If turn on auth system:
-nacos.core.auth.enabled=false
+nacos.core.auth.enabled=true
 
 ### Turn on/off caching of auth information. By turning on this switch, the update of auth information would have a 15 seconds delay.
 nacos.core.auth.caching.enabled=true
 
 ### Since 1.4.1, Turn on/off white auth for user-agent: nacos-server, only for upgrade from old version.
-nacos.core.auth.enable.userAgentAuthWhite=true
+nacos.core.auth.enable.userAgentAuthWhite=false
 
 ### Since 1.4.1, worked when nacos.core.auth.enabled=true and nacos.core.auth.enable.userAgentAuthWhite=false.
 ### The two properties is the white list for auth and used by identity the request from other server.
-nacos.core.auth.server.identity.key=
-nacos.core.auth.server.identity.value=
+nacos.core.auth.server.identity.key=admin
+nacos.core.auth.server.identity.value=nAcos_!9#_admIn
 
 ### worked when nacos.core.auth.system.type=nacos
 ### The token expiration in seconds:
 nacos.core.auth.plugin.nacos.token.cache.enable=false
 nacos.core.auth.plugin.nacos.token.expire.seconds=18000
-### The default token (Base64 String):
-nacos.core.auth.plugin.nacos.token.secret.key=VGhpc0lzTXlDdXN0b21TZWNyZXRLZXkwMTIzNDU2Nzg=
+### The default token (Base64 String): https://base64.us/
+nacos.core.auth.plugin.nacos.token.secret.key=VGhpc0lzTXljVXN0b21TZWNyZXRLZTkwMTIzNDU2Nzg=
 
 ### worked when nacos.core.auth.system.type=ldap锛寋0} is Placeholder,replace login username
 #nacos.core.auth.ldap.url=ldap://localhost:389

--
Gitblit v1.9.3