fix: nginx log and smtp setting
This commit is contained in:
@@ -48,11 +48,11 @@ mail:
|
|||||||
# Enable authentication
|
# Enable authentication
|
||||||
auth: true
|
auth: true
|
||||||
# Sender, follows RFC-822 standard
|
# Sender, follows RFC-822 standard
|
||||||
from: support <smtpex@agrantech.com>
|
from: smtpex <smtpex@agrantech.com>
|
||||||
# User name
|
# User name
|
||||||
user: smtpex
|
user: smtpex
|
||||||
# Password
|
# Password
|
||||||
pass: Admin123@pl
|
pass: Smtp123@agt
|
||||||
# Use TLS security connection
|
# Use TLS security connection
|
||||||
starttlsEnable: true
|
starttlsEnable: true
|
||||||
# Use SSL security connection
|
# Use SSL security connection
|
||||||
@@ -66,6 +66,6 @@ mail:
|
|||||||
omada:
|
omada:
|
||||||
# web url or host exp: 'https://192.168.2.249:8043'
|
# web url or host exp: 'https://192.168.2.249:8043'
|
||||||
omada-url: 'https://aps1-omada-northbound.tplinkcloud.com'
|
omada-url: 'https://aps1-omada-northbound.tplinkcloud.com'
|
||||||
omadac-id: '10ccde5bfee5142b28a07f6146f41056'
|
omadac-id: 'c4decbf73f80094019d664506ec9b4d4'
|
||||||
client-id: '48b3be2083dd4fbdb5f7cfd5c3a4abb6'
|
client-id: '6110a77822234243a033e652d1e8a3ae'
|
||||||
client-secret: '2556dfcafe6d4288b3f0921aa6391c76'
|
client-secret: '651957da95f14f45b719876bb68bd6f5'
|
||||||
@@ -7,6 +7,13 @@ events {
|
|||||||
http {
|
http {
|
||||||
include mime.types;
|
include mime.types;
|
||||||
default_type application/octet-stream;
|
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;
|
sendfile on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user