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>

相关推荐
欧先生^_^10 小时前
学习 Apache Kafka
学习·kafka·apache
_揽11 小时前
前端开发本地配置 HTTPS 全面详细教程
网络协议·http·https
欧先生^_^13 小时前
Apache Spark 源码解析
大数据·spark·apache
w236173460114 小时前
Apache中间件解析漏洞与安全加固
安全·中间件·apache
whoarethenext20 小时前
https详解
网络·网络协议·https
中科三方1 天前
APP和小程序需要注册域名吗?(国科云)
小程序·apache
花千树-0102 天前
使用 Frp 同时实现 HTTP 和 HTTPS 内网穿透
网络协议·http·https
Debug_TheWorld3 天前
Apache Flink 深度解析:流处理引擎的核心原理与生产实践指南
大数据·flink·apache
脚步69784 天前
配置 Apache 的 HTTPS
https
小书房4 天前
一文读懂https
网络协议·http·https·加密·密钥