chore: standardize project comments in English

This commit is contained in:
eezd committed 2026-10-26 22:52:12 +08:00
1 parent a874a39ea5
commit ccb16acbea
167 files changed
+820 -820

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
# 票据属于资源凭据,日志保留资源路径但不记录明文票据。
# Tickets are resource credentials; retain resource paths in logs without plaintext tickets.
map $uri $rawmark_log_path {
~^/api/v1/resources/[^/]+(?<rawmark_resource_suffix>/.*)$ /api/v1/resources/[redacted]$rawmark_resource_suffix;
default $uri;
@@ -7,7 +7,7 @@ log_format rawmark '$remote_addr - $remote_user [$time_local] '
'"$request_method $rawmark_log_path $server_protocol" $status $body_bytes_sent '
'"$http_user_agent"';
# raw.134333.xyz -> RawMark 容器(127.0.0.1:21000)
# raw.134333.xyz -> RawMark container (127.0.0.1:21000)
server {
listen 80;
@@ -38,7 +38,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 1h;
# Nginx 错误日志不能脱敏请求行;票据路径只保留脱敏访问日志和应用错误日志。
# Nginx error logs cannot redact request lines; ticket paths retain only redacted access logs and application error logs.
location ^~ /api/v1/resources/ {
proxy_pass http://127.0.0.1:21000;
error_log /dev/null;