Teppo Kurki
Teppo Kurki
SKSignal K
Created by Lithops on 9/13/2024 in #questions
Signalk behind reverse proxy Nginx
- http: pass everything, from the root - separate, specific websocket proxypasses for signalk and node-RED admin
17 replies
SKSignal K
Created by Lithops on 9/13/2024 in #questions
Signalk behind reverse proxy Nginx
server {
listen 80;
server_name your_hostname;
location / {
return 301 https://$host$request_uri;
}
}

server {
listen 443 ssl;
listen [::]:443;
server_name your_hostname;

ssl_certificate /etc/letsencrypt/live/your_hostname/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your_hostname/privkey.pem;

location / {
proxy_pass http://host.docker.internal:3000;
}

location /signalk/v1/stream {
proxy_pass http://host.docker.internal:3000/signalk/v1/stream;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /plugins/signalk-node-red/redAdmin/comms {
proxy_pass http://host.docker.internal:3000/plugins/signalk-node-red/redAdmin/comms;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
listen 80;
server_name your_hostname;
location / {
return 301 https://$host$request_uri;
}
}

server {
listen 443 ssl;
listen [::]:443;
server_name your_hostname;

ssl_certificate /etc/letsencrypt/live/your_hostname/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your_hostname/privkey.pem;

location / {
proxy_pass http://host.docker.internal:3000;
}

location /signalk/v1/stream {
proxy_pass http://host.docker.internal:3000/signalk/v1/stream;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /plugins/signalk-node-red/redAdmin/comms {
proxy_pass http://host.docker.internal:3000/plugins/signalk-node-red/redAdmin/comms;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
17 replies
SKSignal K
Created by Lithops on 9/13/2024 in #questions
Signalk behind reverse proxy Nginx
On my phone, i’ll share my nginx conf later
17 replies
SKSignal K
Created by Lithops on 9/13/2024 in #questions
Signalk behind reverse proxy Nginx
Nothing related to react here
17 replies
SKSignal K
Created by Lithops on 9/13/2024 in #questions
Signalk behind reverse proxy Nginx
I think sk should work with a few proxypasses and does not need to occupy root, but the proxypasses need to map paths 1 to 1
17 replies
SKSignal K
Created by Lithops on 9/13/2024 in #questions
Signalk behind reverse proxy Nginx
What karl-erik said. @Lithops your configuration was just incorrect
17 replies
SKSignal K
Created by Andy_Y on 9/10/2024 in #node-red
Andy_Y - anyone using input-handler and input-h...
You can inject test values with Data Fiddler
2 replies
SKSignal K
Created by anderhau on 9/8/2024 in #questions
No data from can to SignalK
And since i do not use it can’t offer much if any help
8 replies
SKSignal K
Created by anderhau on 9/8/2024 in #questions
No data from can to SignalK
As you said, seems like an OpenPlotter issue to me
8 replies
SKSignal K
Created by anderhau on 9/8/2024 in #questions
No data from can to SignalK
For some reason your installation is broken. Try removing /usr/lib/node_modules/signalk-server and reinstalling
8 replies
SKSignal K
Created by Kees Verruijt on 9/5/2024 in #announcements
METS 2024
Now considering! I think it would be wise to agree on a day to get together around SK. 21st by Kees would be a good default
4 replies
SKSignal K
Created by Kalymnos on 9/4/2024 in #questions
pilote NAC 3 B&G
There’s #kip channel
9 replies
SKSignal K
Created by Kalymnos on 9/4/2024 in #questions
pilote NAC 3 B&G
Please explain what is autopilot head
9 replies