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>

相关推荐
布鲁克零三四四3 小时前
阿里云CDN转https个人测试证书过期更换
阿里云·https·云计算
ACGkaka_15 小时前
抓包工具(三)Wireshark代理抓包Java程序的HTTPS请求
java·https·wireshark
哑巴语天雨16 小时前
前端面试-网络协议篇
websocket·网络协议·http·面试·https
零星_AagT19 小时前
Apache-CC6链审计笔记
java·笔记·apache·代码审计
九天轩辕20 小时前
HTTPS 通信流程
https
yourkin66620 小时前
HTTPS(下)
服务器·网络协议·https
anddddoooo1 天前
域内证书维权
服务器·网络·网络协议·安全·网络安全·https·ssl
九天轩辕2 天前
HTTPS 证书交换流程
网络协议·https
花千树-0102 天前
Java中的自然语言处理(NLP)工具:Stanford NLP、Apache OpenNLP、DL4J
java·自然语言处理·nlp·aigc·apache
Bai_Yin2 天前
Debezium 与 Apache Kafka 的集成方式
分布式·kafka·apache·debezium