windows apache 配置 https:// wss://

<VirtualHost *:443>

ServerName frontt.project.com

ServerAlias

SSLEngine on

SSLCertificateFile "D:/phpstudy_pro/Extensions/Apache2.4.39/conf/ssl/frontt.project.com.crt"

SSLCertificateKeyFile "D:/phpstudy_pro/Extensions/Apache2.4.39/conf/ssl/frontt.project.com.key"

SSLCertificateChainFile "D:/phpstudy_pro/Extensions/Apache2.4.39/conf/ssl/frontt.project.comchain.crt"

FcgidInitialEnv PHPRC "D:/phpstudy_pro/Extensions/php/php7.4.3nts"

AddHandler fcgid-script .php

FcgidWrapper "D:/phpstudy_pro/Extensions/php/php7.4.3nts/php-cgi.exe" .php

<Location /wss>

proxyPass ws://127.0.0.1:29502

ProxyPassReverse ws://127.0.0.1:29502

</Location>

DocumentRoot "E:/project"

<Directory "E:/project">

Options FollowSymLinks ExecCGI

AllowOverride All

Order allow,deny

Allow from all

Require all granted

DirectoryIndex index.php index.html error/index.html

</Directory>

ErrorDocument 400 /error/400.html

ErrorDocument 403 /error/403.html

ErrorDocument 404 /error/404.html

ErrorDocument 500 /error/500.html

ErrorDocument 501 /error/501.html

ErrorDocument 502 /error/502.html

ErrorDocument 503 /error/503.html

ErrorDocument 504 /error/504.html

ErrorDocument 505 /error/505.html

ErrorDocument 506 /error/506.html

ErrorDocument 507 /error/507.html

ErrorDocument 510 /error/510.html

</VirtualHost>

相关推荐
时空自由民.12 小时前
HTTP协议和HTTPS协议结合天气获取案例介绍
网络协议·http·https
DolphinScheduler社区13 小时前
DolphinScheduler 3.3.2 如何调用 DataX 3.0 + SeaTunnel 2.3.12?附 Demo演示!
java·spark·apache·海豚调度·大数据工作流调度
Chengbei1116 小时前
面向红队的 AI 赋能全场景流量分析仪 网页 / APP / 终端 / IoT 全域 HTTPS 抓包解密利器
人工智能·物联网·网络协议·web安全·网络安全·https·系统安全
YaBingSec17 小时前
玄机网络安全靶场:Apache HTTPD 解析漏洞(CVE-2017-15715)WP
java·笔记·安全·web安全·php·apache
SuperherRo2 天前
服务攻防-中间件安全&Apache&Tomcat&Jetty&Weblogic&AJP协议&反序列化&CVE漏洞
中间件·tomcat·apache·jetty·weblogic
回忆2012初秋2 天前
时序库.net平台下的推荐 SonnetDB,一文分析清除他与Apache IoTDB的区同
apache·iotdb
不羁的fang少年3 天前
https机制
服务器·https·ssl
胡图图不糊涂^_^3 天前
网络原理笔记
java·网络·笔记·学习·tcp/ip·http·https
家有娇妻张兔兔3 天前
Apache POI 导出 Word 踩坑实录:Word 分栏为什么做不好左右平铺
c#·word·apache·poi·分栏
承渊政道3 天前
用群晖部署OmniBox+pansou:把分散的影视资源全聚合到一个界面里
服务器·windows·网络协议·https·ip·视频·持续部署