fix(security): disable Swagger in prod, remove dead debug field, harden env config
This commit is contained in:
+1
-2
@@ -5,10 +5,9 @@
|
||||
# 运行时配置
|
||||
############
|
||||
ERYAO_RUNTIME__ENVIRONMENT=dev
|
||||
ERYAO_RUNTIME__DEBUG=true
|
||||
ERYAO_RUNTIME__LOG_LEVEL=INFO
|
||||
ERYAO_RUNTIME__SQL_LOG_QUERIES=false
|
||||
ERYAO_RUNTIME__TRUSTED_PROXY_IPS=[]
|
||||
ERYAO_RUNTIME__TRUSTED_PROXY_IPS='["127.0.0.1", "172.18.0.1"]'
|
||||
|
||||
############
|
||||
# Web 服务器配置(Uvicorn)
|
||||
|
||||
Reference in New Issue
Block a user