hnschat-web/000-default.conf

20 lines
466 B
Plaintext
Raw Normal View History

2025-01-07 15:00:59 +11:00
<VirtualHost *:80>
# ServerName localhost
DocumentRoot /var/www/html
# ProxyPass for WebSocket handling
ProxyPass /wss ws://hnschat-server:4444/
ProxyPassReverse /wss ws://hnschat-server:4444/
<Directory /var/www/html>
Options +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
# PHP settings
DirectoryIndex index.php
AddType application/x-httpd-php .php
</VirtualHost>