Charles Derrick
Explore posts from serversNNovu
•Created by Tobias on 12/18/2023 in #💬│support
Novu Websocket fails (Websocket error)
This is my config file for my websocket which runs on https://sample.sample.com:8847/
Following your solution how would i change it to make it work?
server {
listen 8447 http2 ssl;
server_name sample.sample.com;
access_log /var/log/nginx/sample.sample.com;
error_log /var/log/nginx/sample.sample.com;
location /.well-known/acme-challenge/ {
root /var/www/html/test; # Temp for generating letsencrypt
default_type text/plain;
}
location / {
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
#Fix the “It appears that your reverse proxy set up is broken” error.
proxy_pass http://127.0.0.1:3002;
proxy_read_timeout 90;
proxy_redirect http://127.0.0.1:3002 http://sample.sample.com/;
#Required for new HTTP-based CLI
proxy_http_version 1.1;
proxy_request_buffering off;
}
ssl_certificate /etc/letsencrypt/live/sample.sample.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/sample.sample.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
15 replies
NNovu
•Created by Charles Derrick on 2/26/2024 in #💬│support
Novu self host with nginx
@Pawan Jain Is there a way i can switch from http to https using ec2?
4 replies
NNovu
•Created by Charles Derrick on 2/26/2024 in #💬│support
Novu self host with nginx
i have already implemented this. my challenge is using https now with nginx. it works with port 3000 but fails for the rest of the ports
4 replies
NNovu
•Created by Charles Derrick on 2/19/2024 in #💬│support
Triggering event from laravel backend.
@unicodeveloper The url i was providing is http://localhost:3000 which is the one my api is running on. Appending /v1/ -> http://localhost:3000/v1/ fixed the issue. 👍
8 replies
NNovu
•Created by Charles Derrick on 2/13/2024 in #💬│support
Connect PHP backend to local NOVU
I ran the server with npm run start:web
10 replies
NNovu
•Created by Charles Derrick on 2/13/2024 in #💬│support
Connect PHP backend to local NOVU
I forked the repo, cloned it with https and ran npm run setup:project
10 replies