N
Novu3mo ago
sai

Need guidence in deploying self-hosting novu on ec2 via docker and nginx reverse proxy.

Hello Everyone, I need guidence in deploying Self-hosting Novu on an AWS EC2 instance, Via docker. I have followed the document - https://docs.novu.co/self-hosting-novu/deploy-with-docker But there are multiple errors , Is there any nginx reverse proxy script for routing the application on our domain? and the changes that we need to do in .env . Please help on this @Support
5 Replies
Pawan Jain
Pawan Jain3mo ago
@sai Thanks for reaching out. We have not added official support of nginx reverse proxy in the community self host option
sai
sai3mo ago
Thanks for the reply @Pawan Jain Can you please suggest the other alternatives that you provide offical support.
Zac Clifton
Zac Clifton3mo ago
@sai I would look at https://docs.novu.co/self-hosting-novu/deploy-with-docker#reverse-proxy-load-balancers otherwise I would look at leveraging the free tier of novu cloud to get you started. While we are looking to better support helm in the near term I can not promise the infra team can get around to worknig through reverse proxies at this time.
Novu
Deploy with Docker - Novu
Learn how to deploy Novu with Docker
0xttfx
0xttfx3mo ago
@sai This is my .env
# Host
HOST_NAME=http://novu.mydns.com.br

# Root URL
REACT_APP_WS_URL=$HOST_NAME/ws
API_ROOT_URL=$HOST_NAME/api
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=$HOST_NAME:4200
WIDGET_EMBED_PATH=$HOST_NAME:4701/embed.umd.min.js
WIDGET_URL=$HOST_NAME/widget

# Context Paths for reverse-proxies
API_CONTEXT_PATH=api
WS_CONTEXT_PATH=ws
WIDGET_CONTEXT_PATH=widget

# disable registration true/false
DISABLE_USER_REGISTRATION=
# Host
HOST_NAME=http://novu.mydns.com.br

# Root URL
REACT_APP_WS_URL=$HOST_NAME/ws
API_ROOT_URL=$HOST_NAME/api
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=$HOST_NAME:4200
WIDGET_EMBED_PATH=$HOST_NAME:4701/embed.umd.min.js
WIDGET_URL=$HOST_NAME/widget

# Context Paths for reverse-proxies
API_CONTEXT_PATH=api
WS_CONTEXT_PATH=ws
WIDGET_CONTEXT_PATH=widget

# disable registration true/false
DISABLE_USER_REGISTRATION=
0xttfx
0xttfx3mo ago
Pastebin
Proxy NGINX Novu self-hosting - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.