I’m trying to use remmina and set reverse proxy with nginx.
Here’s the docker compose yaml
name: remmina
services:
remmina:
image: lscr.io/linuxserver/remmina:latest
container_name: remmina
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
# reverse proxy
- SUBFOLDER=/remmina/
volumes:
- ~/docker-data/remmina:/config
ports:
- 3100:3000
restart: unless-stopped
Here’s part of nginx conf
location /remmina/{
proxy_pass http://127.0.0.1:3100/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
After setting these up, access my.domain/remmina/
ends up with title Error and content Cannot GET /
I tried to modify the nginx conf location /remmina/
to location /remmina
, the kasmvnc shows up but failed to load, console shows it tries to access my.domain/websockify
.
I googled it and found the kasm don’t support subpath rp, (18) Setting Kasm to Nginx subdirectory? : kasmweb (reddit.com), so is this my configuration wrong or the document?