细节调整

This commit is contained in:
xxq250 2025-07-08 10:23:17 +08:00
parent 4927d15c0c
commit d16df32744
2 changed files with 11 additions and 1 deletions

View File

@ -133,4 +133,6 @@ CREATE TABLE `action_runner_token` (
-- ----------------------------
INSERT INTO `action_runner_token` (`id`, `token`, `owner_id`, `repo_id`, `is_active`, `created`, `updated`, `deleted`) VALUES (1, 'XPnJXquS0rhGhK99t2HAfCQAcH200uZLmgWRFwag', 0, 0, 1, 1712643257, 1720771549, NULL);
INSERT INTO `webhook` (`repo_id`, `owner_id`, `is_system_webhook`, `url`, `http_method`, `content_type`, `secret`, `events`, `is_active`, `type`, `meta`, `last_status`, `header_authorization_encrypted`, `created_unix`, `updated_unix`) VALUES ( 0, 0, 1, 'http://172.20.32.202:4000/commit_logs?token=7917908927b6f1b792f2027a08a8b24a2de42c1692c2fd45da0dee5cf90a5af5', 'POST', 1, '', '{\"push_only\":true,\"send_everything\":false,\"choose_events\":false,\"branch_filter\":\"*\",\"events\":{\"create\":false,\"delete\":false,\"fork\":false,\"issues\":false,\"issue_assign\":false,\"issue_label\":false,\"issue_milestone\":false,\"issue_comment\":false,\"push\":false,\"pull_request\":false,\"pull_request_assign\":false,\"pull_request_label\":false,\"pull_request_milestone\":false,\"pull_request_comment\":false,\"pull_request_review\":false,\"pull_request_sync\":false,\"pull_request_review_request\":false,\"wiki\":false,\"repository\":false,\"release\":false,\"package\":false}}', 1, 'gitea', '', 1, '', 1748567905, 1751337083);
SET FOREIGN_KEY_CHECKS = 1;

View File

@ -1,5 +1,5 @@
user nginx;
worker_processes auto;
worker_processes 8;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
@ -33,6 +33,14 @@ http {
server {
listen 4000;
location / {
proxy_buffering on;
proxy_buffer_size 128k;
proxy_buffers 8 1m;
proxy_busy_buffers_size 2m;
proxy_temp_file_write_size 2m;
proxy_connect_timeout 600;
proxy_read_timeout 600;
proxy_send_timeout 600;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;