Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以支持后台https环境变量 #26

Open
lwabish opened this issue Dec 30, 2022 · 3 comments
Open

是否可以支持后台https环境变量 #26

lwabish opened this issue Dec 30, 2022 · 3 comments

Comments

@lwabish
Copy link

lwabish commented Dec 30, 2022

目前后台https需要手动修改config,增加define('__TYPECHO_SECURE__',true);
是否可以在容器启动阶段根据环境变量自动增加?

@joyqi
Copy link
Member

joyqi commented Dec 30, 2022

很有趣的想法,可以考虑把所有的常量都支持在环境变量中定义,这样更方便在容器环境中部署

@lwabish
Copy link
Author

lwabish commented Dec 31, 2022

嗯呐是的,这样在k8s里跑也方便很多。我先自己改了下跑起来了, #27

@lwabish
Copy link
Author

lwabish commented Jan 13, 2023

./build.sh apachebuild出的镜像伪静态链接不能用,敢问大佬镜像构建是有什么特殊的技巧?我看Readme里有image extending 章节,不过还没写

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants