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>

相关推荐
小黑爱编程2 小时前
【LInux】HTTPS是如何实现安全传输的
linux·安全·https
心勤则明14 小时前
Netty配置SSL证书加密
服务器·https·ssl
檀越剑指大厂1 天前
开源多场景问答社区论坛Apache Answer本地部署并发布至公网使用
开源·apache
nvd111 天前
Java ETL - Apache Beam 简介
java·apache·etl
SchneeDuan1 天前
HTTP和HTTPS的区别
网络协议·http·https·ssl/tls协议·数字证书、签名
小堃学编程1 天前
计算机网络(七) —— https协议与网络安全证书
计算机网络·web安全·https
爱吃龙利鱼2 天前
nginx实现https安全访问的详细配置过程
运维·nginx·安全·云原生·https
Dragon_qu·x2 天前
Certbot 生成 SSL 证书并配置自动续期
运维·网络协议·https·ssl
pink大呲花2 天前
http和https分别是什么?区别是什么?
网络协议·http·https
兮动人2 天前
错误: 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
分布式·zookeeper·apache