[313] Puma starting in cluster mode...
[313] * Puma version: 5.5.2 (ruby 2.7.4-p191) ("Zawgyi")
[313] * Min threads: 5
[313] * Max threads: 5
[313] * Environment: production
[313] * Master PID: 313
[313] * Workers: 2
[313] * Restarts: (✔) hot (✖) phased
[313] * Preloading application
[313] * Listening on http://0.0.0.0:3000
[313] Use Ctrl-C to stop
[313] - Worker 0 (PID: 333) booted in 0.01s, phase: 0
[313] - Worker 1 (PID: 334) booted in 0.0s, phase: 0
I, [2021-11-10T16:31:47.102022 #334] INFO -- : [2145ebc5-2b68-47e6-929b-7fc4aa6d0e63] Started GET "/health" for 127.0.0.1 at 2021-11-10 16:31:47 +0800
I, [2021-11-10T16:31:47.107050 #334] INFO -- : [2145ebc5-2b68-47e6-929b-7fc4aa6d0e63] Processing by HealthCheck::HealthCheckController#index as TEXT
I, [2021-11-10T16:31:47.147548 #334] INFO -- : [2145ebc5-2b68-47e6-929b-7fc4aa6d0e63] Rendered text template (Duration: 0.0ms | Allocations: 3)
I, [2021-11-10T16:31:47.147913 #334] INFO -- : [2145ebc5-2b68-47e6-929b-7fc4aa6d0e63] Completed 200 OK in 41ms (Views: 1.0ms | ActiveRecord: 12.6ms | Allocations: 5513)
I, [2021-11-10T16:32:17.225789 #334] INFO -- : [c2d62c66-16fc-4451-8a1f-3da805f117be] Started GET "/health" for 127.0.0.1 at 2021-11-10 16:32:17 +0800
I, [2021-11-10T16:32:17.227271 #334] INFO -- : [c2d62c66-16fc-4451-8a1f-3da805f117be] Processing by HealthCheck::HealthCheckController#index as TEXT
I, [2021-11-10T16:32:17.232087 #334] INFO -- : [c2d62c66-16fc-4451-8a1f-3da805f117be] Rendered text template (Duration: 0.0ms | Allocations: 2)
I, [2021-11-10T16:32:17.232291 #334] INFO -- : [c2d62c66-16fc-4451-8a1f-3da805f117be] Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms | Allocations: 1802)
I, [2021-11-10T16:32:47.303901 #334] INFO -- : [eb85440c-86b2-43c5-9f51-ce8c46ed2cf8] Started GET "/health" for 127.0.0.1 at 2021-11-10 16:32:47 +0800
I, [2021-11-10T16:32:47.305243 #334] INFO -- : [eb85440c-86b2-43c5-9f51-ce8c46ed2cf8] Processing by HealthCheck::HealthCheckController#index as TEXT
I, [2021-11-10T16:32:47.312827 #334] INFO -- : [eb85440c-86b2-43c5-9f51-ce8c46ed2cf8] Rendered text template (Duration: 0.0ms | Allocations: 2)
I, [2021-11-10T16:32:47.313044 #334] INFO -- : [eb85440c-86b2-43c5-9f51-ce8c46ed2cf8] Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.4ms | Allocations: 1802)
I, [2021-11-10T16:33:01.194841 #334] INFO -- : [7f714276-94af-483f-8e24-5d083e700aea] Started GET "/" for 183.6.43.209 at 2021-11-10 16:33:01 +0800
I, [2021-11-10T16:33:01.196285 #334] INFO -- : [7f714276-94af-483f-8e24-5d083e700aea] Processing by DashboardsController#index as HTML
......
zealot-zealot | I, [2021-11-10T18:22:57.964553 #334] INFO -- : [fbfb27c9-ad47-488b-9f57-999ddefcad5b] Started GET "/channels/tZh8V/releases/7/install" for {111.1.11.111} at 2021-11-10 18:22:57 +0800
zealot-zealot | I, [2021-11-10T18:22:57.966026 #334] INFO -- : [fbfb27c9-ad47-488b-9f57-999ddefcad5b] Processing by Releases::InstallController#show as */*
zealot-zealot | I, [2021-11-10T18:22:57.966074 #334] INFO -- : [fbfb27c9-ad47-488b-9f57-999ddefcad5b] Parameters: {"channel_id"=>"tZh8V", "release_id"=>"7"}
zealot-zealot | I, [2021-11-10T18:22:57.978747 #334] INFO -- : [fbfb27c9-ad47-488b-9f57-999ddefcad5b] Rendered releases/install/show.html.erb (Duration: 3.0ms | Allocations: 718)
zealot-zealot | I, [2021-11-10T18:22:57.979019 #334] INFO -- : [fbfb27c9-ad47-488b-9f57-999ddefcad5b] Completed 200 OK in 13ms (Views: 3.9ms | ActiveRecord: 4.3ms | Allocations: 2020)
zealot-zealot | I, [2021-11-10T18:23:00.674241 #334] INFO -- : [6f7a2bfe-675a-4c0a-b853-fb588532985b] Started GET "/download/releases/7" for {111.1.11.111} at 2021-11-10 18:23:00 +0800
zealot-zealot | I, [2021-11-10T18:23:00.675700 #334] INFO -- : [6f7a2bfe-675a-4c0a-b853-fb588532985b] Processing by Download::ReleasesController#show as */*
zealot-zealot | I, [2021-11-10T18:23:00.675756 #334] INFO -- : [6f7a2bfe-675a-4c0a-b853-fb588532985b] Parameters: {"id"=>"7"}
zealot-zealot | I, [2021-11-10T18:23:00.686432 #334] INFO -- : [6f7a2bfe-675a-4c0a-b853-fb588532985b] Redirected to http://{localhost}:443/download/releases/7/tZh8V_1.0.0_12_202111101749.ipa
zealot-zealot | I, [2021-11-10T18:23:00.686580 #334] INFO -- : [6f7a2bfe-675a-4c0a-b853-fb588532985b] Completed 302 Found in 11ms (ActiveRecord: 5.0ms | Allocations: 1240)
zealot-zealot | I, [2021-11-10T18:23:00.796234 #334] INFO -- : [eccb697e-dc46-48c8-8894-311a9d1941b0] Started GET "/download/releases/7/tZh8V_1.0.0_12_202111101749.ipa" for {111.1.11.111} at 2021-11-10 18:23:00 +0800
zealot-zealot | I, [2021-11-10T18:23:00.797687 #334] INFO -- : [eccb697e-dc46-48c8-8894-311a9d1941b0] Processing by Download::ReleasesController#download as */*
zealot-zealot | I, [2021-11-10T18:23:00.797748 #334] INFO -- : [eccb697e-dc46-48c8-8894-311a9d1941b0] Parameters: {"id"=>"7", "filename"=>"tZh8V_1.0.0_12_202111101749.ipa"}
zealot-zealot | I, [2021-11-10T18:23:00.809761 #334] INFO -- : [eccb697e-dc46-48c8-8894-311a9d1941b0] Sent file /app/public/uploads/apps/a2/r7/binary/AutoCI_Test_1.0.0_2021-11-10-17-48.ipa (0.5ms)
zealot-zealot | I, [2021-11-10T18:23:00.809928 #334] INFO -- : [eccb697e-dc46-48c8-8894-311a9d1941b0] Completed 200 OK in 12ms (ActiveRecord: 4.4ms | Allocations: 1871)
zealot-zealot | I, [2021-11-10T18:23:01.326993 #333] INFO -- : [1414e7ed-5179-4c38-9947-57f9a0dca66f] Started GET "/download/releases/7" for {111.1.11.111} at 2021-11-10 18:23:01 +0800
zealot-zealot | I, [2021-11-10T18:23:01.328300 #333] INFO -- : [1414e7ed-5179-4c38-9947-57f9a0dca66f] Processing by Download::ReleasesController#show as */*
zealot-zealot | I, [2021-11-10T18:23:01.328345 #333] INFO -- : [1414e7ed-5179-4c38-9947-57f9a0dca66f] Parameters: {"id"=>"7"}
zealot-zealot | I, [2021-11-10T18:23:01.354498 #333] INFO -- : [1414e7ed-5179-4c38-9947-57f9a0dca66f] Redirected to http://{localhost}:443/download/releases/7/tZh8V_1.0.0_12_202111101749.ipa
zealot-zealot | I, [2021-11-10T18:23:01.354672 #333] INFO -- : [1414e7ed-5179-4c38-9947-57f9a0dca66f] Completed 302 Found in 26ms (ActiveRecord: 13.2ms | Allocations: 3475)
zealot-zealot | I, [2021-11-10T18:23:07.471371 #333] INFO -- : [c149a17c-d56e-4b03-a725-7510b248cbd5] Started GET "/health" for 127.0.0.1 at 2021-11-10 18:23:07 +0800
zealot-zealot | I, [2021-11-10T18:23:07.472624 #333] INFO -- : [c149a17c-d56e-4b03-a725-7510b248cbd5] Processing by HealthCheck::HealthCheckController#index as TEXT
zealot-zealot | I, [2021-11-10T18:23:07.477413 #333] INFO -- : [c149a17c-d56e-4b03-a725-7510b248cbd5] Rendered text template (Duration: 0.0ms | Allocations: 1)
zealot-zealot | I, [2021-11-10T18:23:07.477623 #333] INFO -- : [c149a17c-d56e-4b03-a725-7510b248cbd5] Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.9ms | Allocations: 1775)
server
{
# listen 80;
listen 443 ssl http2;
server_name {localhost} www.{localhost};
index index.php index.html index.htm default.php default.htm default.html;
root /www/wwwroot/{localhost};
#SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
#error_page 404/404.html;
ssl_certificate /www/server/panel/vhost/cert/{localhost}/fullchain.pem;
ssl_certificate_key /www/server/panel/vhost/cert/{localhost}/privkey.pem;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
add_header Strict-Transport-Security "max-age=31536000";
error_page 497 https://$host$request_uri;
#SSL-END
#ERROR-PAGE-START 错误页配置,可以注释、删除或修改
#error_page 404 /404.html;
#error_page 502 /502.html;
#ERROR-PAGE-END
#PHP-INFO-START PHP引用配置,可以注释或修改
include enable-php-56.conf;
#PHP-INFO-END
#REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效
include /www/server/panel/vhost/rewrite/{localhost}.conf;
#REWRITE-END
#禁止访问的文件或目录
location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
{
return 404;
}
#一键申请SSL证书验证目录相关设置
location ~ \.well-known{
allow all;
}
# location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
# {
# expires 30d;
# error_log /dev/null;
# access_log /dev/null;
# }
# location ~ .*\.(js|css)?$
# {
# expires 12h;
# error_log /dev/null;
# access_log /dev/null;
# }
location / {
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering on;
proxy_pass http://172.20.0.4:3000;
}
access_log /www/wwwlogs/{localhost}.log;
error_log /www/wwwlogs/{localhost}.error.log;
}
server {
listen 80;
server_name {localhost} www.{localhost};
rewrite ^(.*)$ https://$host$1 permanent;
}