Victor
Victor
NNovu
Created by Victor on 6/8/2024 in #💬│support
Self Hosting: Problems with Nginx reverse proxy
I've read two previous posts on this however I can't get reverse proxying working for novu. I am using nginx with the following config: https://hastebin.skyra.pw/edufimigej.nginx with the following env variables (a bit verbose but I'm really not sure where the issue lies)
HOST_NAME=https://novu.domain.com
API_PORT=3000
REDIS_PORT=6379
REDIS_CACHE_SERVICE_PORT=6379
WS_PORT=3002
REACT_APP_WS_URL=$HOST_NAME:3002
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
# GLOBAL_CONTEXT_PATH=
# WEB_CONTEXT_PATH=
API_CONTEXT_PATH=api
WS_CONTEXT_PATH=ws
WIDGET_CONTEXT_PATH=widget
HOST_NAME=https://novu.domain.com
API_PORT=3000
REDIS_PORT=6379
REDIS_CACHE_SERVICE_PORT=6379
WS_PORT=3002
REACT_APP_WS_URL=$HOST_NAME:3002
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
# GLOBAL_CONTEXT_PATH=
# WEB_CONTEXT_PATH=
API_CONTEXT_PATH=api
WS_CONTEXT_PATH=ws
WIDGET_CONTEXT_PATH=widget
Ran the docker containers. After navigating to novu.domain.com I get a 502 from Cloudflar.e.
8 replies