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

@@ -48,11 +48,11 @@ mail:
# Enable authentication
auth: true
# Sender, follows RFC-822 standard
from: support <smtpex@agrantech.com>
from: smtpex <smtpex@agrantech.com>
# User name
user: smtpex
# Password
pass: Admin123@pl
pass: Smtp123@agt
# Use TLS security connection
starttlsEnable: true
# Use SSL security connection
@@ -66,6 +66,6 @@ mail:
omada:
# web url or host exp: 'https://192.168.2.249:8043'
omada-url: 'https://aps1-omada-northbound.tplinkcloud.com'
omadac-id: '10ccde5bfee5142b28a07f6146f41056'
client-id: '48b3be2083dd4fbdb5f7cfd5c3a4abb6'
client-secret: '2556dfcafe6d4288b3f0921aa6391c76'
omadac-id: 'c4decbf73f80094019d664506ec9b4d4'
client-id: '6110a77822234243a033e652d1e8a3ae'
client-secret: '651957da95f14f45b719876bb68bd6f5'

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;