Wiesz co jest to dość bardzo podstawowy konfig bo tylko testuję status od kuma
ServerName status.virtualize.pl
ProxyPass / http://localhost:3001/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "ws://localhost:3001/$1" [P,L]
RewriteCond %{SERVER_NAME} =status.virtualize.pl
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ServerName status.virtualize.pl
ProxyPass / http://localhost:3001/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "ws://localhost:3001/$1" [P,L]
SSLCertificateFile /etc/letsencrypt/live/status.virtualize.pl/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/status.virtualize.pl/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf