|
|
@ -1,6 +1,5 @@ |
|
|
|
server { |
|
|
|
server { |
|
|
|
# 自定义访问端口 |
|
|
|
# 自定义访问端口 |
|
|
|
listen 80; |
|
|
|
|
|
|
|
listen 443 ssl; |
|
|
|
listen 443 ssl; |
|
|
|
client_max_body_size 100M; |
|
|
|
client_max_body_size 100M; |
|
|
|
|
|
|
|
|
|
|
@ -53,3 +52,14 @@ server { |
|
|
|
proxy_pass http://kicc-gateway:9999/report_proxy; |
|
|
|
proxy_pass http://kicc-gateway:9999/report_proxy; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
server { |
|
|
|
|
|
|
|
# 自定义访问端口 |
|
|
|
|
|
|
|
listen 80; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 服务名称 |
|
|
|
|
|
|
|
server_name localhost; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 把http的域名请求转成https |
|
|
|
|
|
|
|
return 301 https://$host$request_uri; |
|
|
|
|
|
|
|
} |
|
|
|