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>

相关推荐
远方 hi10 小时前
linux虚拟机连接不上Xshell
开发语言·php·apache
zhu090215010212 小时前
minio https配置
网络协议·http·https
鹅肝手握高V五色12 小时前
免费代理抓包工具SniffMaster(嗅探大师)抓取https
网络协议·http·https
初级代码游戏1 天前
openssl 正确生成v3带SAN的证书
https·证书·ssl·openssl·tls·v3
Gworg1 天前
网站HTTP改成HTTPS
网络协议·http·https
果果开发ggdoc.cn1 天前
WordPress免费证书插件
服务器·https·ssl
sunnyday04261 天前
feign调用跳过HTTPS的SSL证书校验配置详解
java·网络·https·ssl
m0_748239471 天前
springBoot发布https服务及调用
spring boot·后端·https
钟离墨笺2 天前
【网络协议】【http】【https】TLS1.3
网络协议·http·https
mqiqe2 天前
Apache Tika 详解
apache