# Example frontend/.env for developing behind an HTTPS domain and Nginx Proxy Manager # Bind the dev server to the machine/Tailscale IP you want (or omit to use localhost) HOST=0.0.0.0 PORT=3001 # Production API base (use https when serving through nginx with TLS) REACT_APP_API_BASE=https://discordbot.YOURDOMAIN.com # Force CRA dev client to use secure websocket to the domain WDS_SOCKET_PROTOCOL=wss WDS_SOCKET_HOST=discordbot.YOURDOMAIN.com WDS_SOCKET_PORT=443 WDS_SOCKET_PATH=/ws # If CRA uses sockjs-node, set WDS_SOCKET_PATH accordingly: # WDS_SOCKET_PATH=/sockjs-node