1
0

fix: 更新nginx配置,修改server_name为omc.http和omc.https

This commit is contained in:
TsMask
2025-04-18 14:44:03 +08:00
parent 92e1d20e9f
commit 29d1c41973

View File

@@ -1,11 +1,9 @@
server {
listen 80;
listen [::]:80;
server_name localhost;
server_name omc.http;
# 修改允许最大请求体大小为100MB
client_max_body_size 100M;
# 持久连接的超时时间默认60s
keepalive_timeout 180s;
# access_log /var/log/nginx/host.access.log main;
@@ -49,7 +47,7 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name localhost;
server_name omc.https;
client_max_body_size 100M;
keepalive_timeout 180s;