2
0

fix: nginx log and smtp setting

This commit is contained in:
zhangsz
2025-02-08 14:15:47 +08:00
parent 1e67d1b98d
commit bc4a1d14fe
2 changed files with 12 additions and 5 deletions

View File

@@ -7,6 +7,13 @@ events {
http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
keepalive_timeout 65;