lorisleiva / solana-wallets-vue

Solana wallet integration for Vue 3
https://solana-wallets-vue-demo.netlify.app/
173 stars 65 forks source link

Deploy on Apache server by reverse proxy approach and https domain #60

Open sanaderi opened 4 months ago

sanaderi commented 4 months ago

client:535 Mixed Content: The page at 'https://example.com/payment' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://example.com/_nuxt/'. This request has been blocked; this endpoint must be available over WSS.

Apache config:

ProxyPass /ws ws://localhost:3001/_nuxt/
ProxyPassReverse /ws ws://localhost:3001/_nuxt/

ProxyPass / http://localhost:3001/
ProxyPassReverse / http://localhost:3001/

how I can change it to connect by wss