N
Novu17mo ago
SaMMaHeTa

Enable SSL

How can i configure SSL for all aaps? can you please guide me?
17 Replies
mdd
mdd17mo ago
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
SaMMaHeTa
SaMMaHeTaOP16mo ago
Hello @madd.man can you please give me example or any referance link which i can follow
mdd
mdd16mo ago
here you have port of each app
SaMMaHeTa
SaMMaHeTaOP16mo ago
Thanks for replay, ports i know. but i need something from where i can configure exact SSL
Novu_Bot
Novu_Bot16mo ago
@sammaheta, you just advanced to level 2!
SaMMaHeTa
SaMMaHeTaOP16mo ago
currently i am trying to create proxy server for this
mdd
mdd16mo ago
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...
SaMMaHeTa
SaMMaHeTaOP16mo ago
its for "Members-only content"
mdd
mdd16mo ago
ah yes
SaMMaHeTa
SaMMaHeTaOP16mo ago
i think i know now how to enable it checking and doing something
mdd
mdd16mo ago
https://nginx.org/en/docs/http/configuring_https_servers.html official docs Do you serve frontend from nginx or plan to host it seperately?
SaMMaHeTa
SaMMaHeTaOP16mo ago
i have host everything in linux apache server
mdd
mdd16mo ago
Novu WS service uses socket.io under the hood, so this can be useful: https://socket.io/docs/v3/reverse-proxy/
SaMMaHeTa
SaMMaHeTaOP16mo ago
Checking @madd.man
dksavai
dksavai16mo ago
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>
SaMMaHeTa
SaMMaHeTaOP16mo ago
Thank you so much @dksavai it's perfectly working
Want results from more Discord servers?
Add your server