N
Novu6mo ago
_7eo.

Self hosting via https

can i config novu via https?. With nginx for example.
8 Replies
Ask Inkeep
Ask Inkeep6mo ago
Hi @_7eo., I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Novu_Bot
Novu_Bot6mo ago
@_7eo., you just advanced to level 2!
Ask Inkeep
Ask Inkeep6mo ago
----------------------------- While I generate an answer, here are some sources that might be helpful: * Deploy with Docker * Introduction * AWS * Quick Start -----------------------------
Ask Inkeep
Ask Inkeep6mo ago
Answer Yes, you can configure Novu to work with HTTPS using Nginx. While Novu's documentation explicitly mentions setting up a reverse proxy or load balancers, it does not provide a direct example for an HTTPS setup. However, by using Nginx as a reverse proxy, you can secure your Novu installation with HTTPS. Here's a general approach to configure HTTPS with Nginx for Novu: 1. Ensure you have a valid SSL certificate for your domain. 2. Configure your Nginx to listen on the HTTPS port (443) and specify the location of your SSL certificate and key. 3. Use the Nginx configuration to proxy pass to the Novu ports as needed (1) . Remember to update the HOST_NAME variable in your .env file to use the HTTPS protocol. For specific configurations related to Nginx, such as setting up SSL and reverse proxy settings, please refer to Nginx documentation and secure HTTPS setup guides. While the Novu documentation doesn't provide explicit examples for HTTPS, the principles of proxy passing and environment configuration apply and can be adapted for secure connections.
Ask Inkeep
Ask Inkeep6mo ago
Glad I could be helpful. Feel free to create a new thread with any new questions you may have. Got it. Tagging @Support for additional help.
_7eo.
_7eo.6mo ago
hello i configured my nginx to work with https bu for some reason somehing is wrong. could you give some clue? here is my nginx configuration file
_7eo.
_7eo.6mo ago
i have set the context variables like this
_7eo.
_7eo.6mo ago
Context Paths Only needed for setups with reverse-proxies GLOBAL_CONTEXT_PATH= WEB_CONTEXT_PATH=web API_CONTEXT_PATH=api WS_CONTEXT_PATH=ws WIDGET_CONTEXT_PATH=widget finally i can do it following this link https://discord.com/channels/895029566685462578/1194711029049995304
Want results from more Discord servers?
Add your server