17 Replies
I would set some reverse proxy like nginx for that and terminate SSL
hardest part in nginx configuration is upgrading http to ws: https://discord.com/channels/895029566685462578/1125843890860195881/1126091183907680327
Hello @madd.man can you please give me example or any referance link which i can follow
Run Novu locally | Novu
⚡ Immediate working space with Gitpod
here you have port of each app
Thanks for replay,
ports i know. but i need something from where i can configure exact SSL
@sammaheta, you just advanced to level 2!
currently i am trying to create proxy server for this
Hussein Nasser
YouTube
NginX Crash Course (Layer 4 & Layer 7 Proxy, HTTPS, TLS 1.3, HTTP/2...
Audio Fixed + Bonus Content NGINX Crash Course here https://youtu.be/hcw-NjOh8r0
NginX is an open source web server written in C and can also be used as a reverse proxy and a load balancer.
In this video, I want to go through the following topics in NginX
Download Slides here
https://payhip.com/b/620K
Chapters
0:00 Intro
2:25 What is NginX...
its for "Members-only content"
ah yes
i think i know now how to enable it
checking and doing something
https://nginx.org/en/docs/http/configuring_https_servers.html
official docs
Do you serve frontend from nginx or plan to host it seperately?
i have host everything in linux apache server
Novu WS service uses socket.io under the hood, so this can be useful:
https://socket.io/docs/v3/reverse-proxy/
Checking @madd.man
Hello @sammaheta
Please follow below Script for Apache Server -
<VirtualHost *:443>
ServerName yoursite.example.com
SSLEngine On
SSLCertificateFile /home/ssl/novu.crt
SSLCertificateKeyFile /home/ssl/novu.key
ProxyPreserveHost On
ProxyPass / http://localhost:4200/
ProxyPassReverse / http://localhost:4200/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Thank you so much @dksavai it's perfectly working