nginx reverse proxy and volumio - config?

Hello, i want use volumio with https and real dns, i used that config on my router with nginx:
[spoiler]server {
listen 80;
server_name volumio.raven.kz;

location ^~ /.well-known/acme-challenge/ {
alias /opt/srv/dehydrated/;
default_type text/plain;
}

return 302 [volumio.raven.kz$request_uri;](https://volumio.raven.kz$request_uri;)

}

server {
listen 443 ssl;
ssl_certificate /opt/etc/dehydrated/certs/volumio.raven.kz/fullchain.pem;
ssl_certificate_key /opt/etc/dehydrated/certs/volumio.raven.kz/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_dhparam /opt/home/admin/certs/dh/volumio.raven.kz.pem;
ssl_ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH;
ssl_session_timeout 24h;
ssl_session_cache shared:SSL:10m;
ssl_stapling on;
ssl_stapling_verify on;
add_header Strict-Transport-Security “max-age=31536000”;

server_name volumio.raven.kz;

access_log /opt/var/log/nginx/volumioravenkz.access.log;
error_log /opt/var/log/nginx/volumioravenkz.error.log;

root /opt/srv/volumio.raven.kz;
index index.html index.htm index.php;

location / {
        proxy_pass [192.168.0.161:80;](http://192.168.0.161:80;)

}

}[/spoiler]
but web page don’t loading successful, i think i need right location config! i see volumio config and see node.js with 3001 port and another? ports but don’t understand how to config it.

so, anyone can help with nginx location config? it will suffice to describe how the web server on volumio is configured

friends please tell me how the web server works in volumio, I really need to configure the upstream nginx as a reverse proxy before volumio! :open_mouth:

Volumio 2 does not use nginx…

of course! it uses node.js! but unfortunately I can not prescribe
location / {
proxy_pass 192.168.0.161:80;
}
since it tries to access 127.0.0.1:3000 - and that’s there on raspberry (nginx is on the router!)
[spoiler][/spoiler]

what i need (schema):
[spoiler][/spoiler]
and i need good nginx location config for that

Tried too but have not succeeded.

This might be a good tip: with MyVolumio you can access your Volumio devices from outside your network, without any complicated set-up… It just works, and the connection is over https…
See: volumio.org/myvolumio/

Thanks, but that is not what i need. I have working nginx as reverse proxy for many services already and i want to have volumio among them. When accessing volumio via reverse proxy, the loading circle just spins. It is like something have timed out while waiting for whole website to be pulled to proxy cache. Maybe it does need some certain size or waiting time increase. Volumio is only service, that doesnt play nice with that reverse proxy in front

any progress with v3? I get same spinning circle using NPM

Anyone figured out the nginx reverse proxy configuration for Volumio 3? The normal http connection is fine but I cannot seem to get a reverse proxy configuration for the WebSockets API? Specifically I just want to put Volumio behind a SSL connection which I have already setup with NGINX but cannot seem to figure out the secure socket.io / Websocket configuration