6 Commits

Author SHA1 Message Date
endial 2983477b7a fix: adjust COPY order in Dockerfile to match 1.28 branch
ci/woodpecker/push/woodpecker Pipeline was successful
- Change order to COPY --from=builder first, then COPY customer/
- This ensures consistent behavior between main and 1.28 branches
2026-01-26 14:18:39 +08:00
endial 105fb9f9cf fix: restore Dockerfile and TODO.md changes consistent with 1.28 branch
ci/woodpecker/push/woodpecker Pipeline failed
- Correct COPY order in Dockerfile (COPY customer/ first, then COPY --from=builder)
- Update EXPOSE ports from 80 443 to 8080 8443
- Update HEALTHCHECK to use curl on port 8080
- Add nginx.conf reference content to TODO.md
2026-01-26 14:16:46 +08:00
endial 7df1a4796f feat: optimize nginx.conf and setup.sh for dynamic user ID support
ci/woodpecker/push/woodpecker Pipeline failed
- Increase worker connections to 4096 and enable multi_accept
- Add security headers for enhanced protection
- Improve gzip compression settings
- Add dynamic permission handling in setup.sh for runtime user ID changes
- Increase file descriptor limits to 65535
- Optimize timeout and buffer settings
2026-01-26 14:14:21 +08:00
endial 694480f2ae refactor: replace legacy LOG_* functions with standardized logging
ci/woodpecker/push/woodpecker Pipeline was successful
- Replace LOG_D calls with debug() function
- Replace LOG_I calls with info() function
- Maintain echo() in build-time overrides script
- Fix 'command not found' errors for LOG_I function
- Ensure consistent logging format across all runtime scripts

Modified files:
- customer/usr/local/bin/common.sh: 4 LOG_D -> debug calls
- customer/usr/local/bin/setup.sh: 3 LOG_I -> info, 1 LOG_D -> debug calls
- customer/usr/local/bin/run.sh: 2 LOG_I -> info calls
- customer/usr/local/bin/entry.sh: already using info() calls (no changes needed)
2026-01-23 16:00:34 +08:00
endial e8d70fcef1 refactor: 修复nginx脚本调用错误并升级到新版架构
ci/woodpecker/push/woodpecker Pipeline was successful
- 修复Dockerfile中脚本调用缺少完整路径问题
- 修复customer脚本中错误的/colovu/lib/路径引用
- 升级build.sh采用新版build_local.sh架构
- 更新nginx版本从1.29.3升级到1.29.4
- 更新overrides脚本文件名匹配版本号
- 统一架构检测使用TARGETARCH变量
2026-01-23 09:33:35 +08:00
endial 9501cca4cf feat: 更新应用版本为 v1.29.3
ci/woodpecker/push/woodpecker Pipeline was successful
2026-01-21 10:14:11 +08:00
5 changed files with 137 additions and 4 deletions
+2 -2
View File
@@ -19,7 +19,7 @@
# 软件包本地服务器: http://pkgs.colovu.com/dist
ARG APP_NAME=nginx
ARG APP_VER=1.28.1
ARG APP_VER=1.29.4
ARG REGISTRY_URL="swr.cn-north-4.myhuaweicloud.com/colovu/"
ARG APT_SOURCE=aliyun
ARG LOCAL_URL=""
@@ -46,7 +46,7 @@ RUN /usr/local/sbin/install_pkg libperl-dev \
libxml2 libxml2-dev \
geoip-bin geoip-database libgeoip-dev
# 下载并解压软件包 nginx: https://nginx.org/download/nginx-1.28.1.tar.gz
# 下载并解压软件包 nginx: https://nginx.org/download/nginx-1.29.4.tar.gz
RUN set -eux; \
appName="${APP_NAME}-${APP_VER}.tar.gz"; \
[ -n ${LOCAL_URL} ] && localURL=${LOCAL_URL}/${APP_NAME}; \
+2 -1
View File
@@ -8,6 +8,7 @@
**版本信息:**
- 1.29、latest
- 1.28
**镜像信息:**
@@ -157,7 +158,7 @@ APP_CFG_yarn__log___aggregation___enable=true
## 更新记录
- 2026/1/21: 更新版本为 v1.28.1
- 2026/1/21: 更新版本为 v1.29.3
- 2023/8/3: 更新为 Nginx 1.24.0
----
+132
View File
@@ -0,0 +1,132 @@
1.28.1
1.29.4
Dynamic Modules
Main nginx package is built with all modules that do not require additional libraries to avoid extra dependencies. Since version 1.9.11, nginx supports dynamic modules and the following modules are built as dynamic and shipped as separate packages:
nginx-module-geoip
nginx-module-image-filter
nginx-module-njs
nginx-module-perl
nginx-module-xslt
Additionally, since version 1.25.3, the following module is shipped as a separate package:
nginx-module-otel
Additionally, since version 1.29.1, the following module is shipped as a separate package:
nginx-module-acme
原始 nginx.conf
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
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 logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name localhost;
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
# location / {
# root html;
# index index.html index.htm;
# }
#}
}
@@ -121,7 +121,7 @@ http {
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
# 启用或禁用应答信息的压缩传输
# 启用或禁用应答信息的压缩传输
gzip on;
gzip_vary on;
gzip_min_length 1024;