[problem]
config .env wampp
SSLEngine on
SSLCertificateFile "${SRVROOT}/conf/key/certificate.crt"
SSLCertificateKeyFile "${SRVROOT}/conf/key/private.key"
ServerName local-xxxxxx.local
DocumentRoot "d:/wamp64/www/xxx/public"
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Define FCGIPHPVERSION "8.2.19"
FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
# Chuyển tiếp đến ứng dụng Laravel
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/
# Chuyển tiếp WebSocket
ProxyPass /app/ ws://127.0.0.1:6001/
ProxyPassReverse /app/ ws://127.0.0.1:6001/
temporay
Top comments (0)