linux


linux系统下安装php的pcntl扩展,启动workerman时需要

https://blog.csdn.net/ChenZhuoDeDiKang/article/details/79169053

开启ssl可能还需要开启这个什么缓存
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
还要开启443端口
如果想直接用https访问
APache 版本

如果需要整站跳转(在地址栏中直接输入yqxbxb.com 则自动使用 https://yqxbxb.com访问),则在网站的域名配置文件的标签内,键入以下内容:
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R=301]

设置代理
ProxyPass / ws://0.0.0.0:2345
ProxyPassReverse / ws://0.0.0.0:2345