init: fork of kejilion/sh with certbot host-network fix
Some checks failed
Weekly Translation Workflow / translate (push) Has been cancelled

- Replace 'docker run -p 80:80' with '--network host' for certbot standalone HTTP-01 to avoid timeout in environments where Docker NAT port-publish breaks LE inbound traffic but host port 80 is reachable.
- Applies to kejilion.sh (all locale variants) and auto_cert_renewal.sh.
- README install command points to this Gitea mirror.
This commit is contained in:
2026-05-18 17:06:42 +08:00
commit 0784a11c19
73 changed files with 167210 additions and 0 deletions

37
optimized_php.ini Normal file
View File

@@ -0,0 +1,37 @@
; security
display_errors = Off
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED
expose_php = Off
allow_url_fopen = Off
allow_url_include = Off
disable_functions = passthru,system,proc_open,popen,parse_ini_file,show_source
default_charset = "UTF-8"
session.cookie_httponly = 1
session.cookie_secure = 1
session.use_strict_mode = 1
session.use_only_cookies = 1
; Opcache配置
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=512
opcache.interned_strings_buffer=32
opcache.max_accelerated_files=100000
opcache.revalidate_freq=0
opcache.validate_timestamps=0
opcache.fast_shutdown=1
opcache.save_comments=1
opcache.file_update_protection=0
opcache.max_wasted_percentage=5
opcache.jit=tracing
opcache.jit_buffer_size=64M
; Realpath Cache配置
realpath_cache_size=4096k
realpath_cache_ttl=3600