-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access behind Nginx Proxy Manager (NPM) #916
Comments
OK, I managed to make it work using streams but...it's not secured at all ^^ |
You can add basic authentication in NPM proxy manager |
How did you exactly manage t get it working? |
@acwebdesign This is now implemented recently, you can now set: environment:
USER: "admin"
PASS: "123" to set authentication for the VNC website. |
Operating system
Ubuntu 20.04.6 LTS
Description
Hi,
To begin I want to thank you for this amazing feature. What I want to achieve may not be possible.
I can reach from the LAN using the container IP with port (192.168.2.190:8006)
I have a 502 Bad Gateway if I use a subdomain and NPM.
My subdomain is OK (redirects to my public IP as a lot of others).
NPM config redirects subdomain to my container's IP (192.168.2.190). (I also tried with the server's IP and the windows' IP)
RDP connection works well from LAN (on windows IP) and from WAN (port forwarded to 3389 on the windows IP).
NPM is able to redirect some other subdomains directly to IPs in my LAN and to other containers by their docker's IP or their names in the same network ("npm_network" - external in each docker compose) .
Can you see any error?
tks
Alex
Docker compose
services:
windows:
image: dockurr/windows
container_name: windows
environment:
#VERSION: "11"
LANGUAGE: "French"
USERNAME: ""
PASSWORD: "*"
DHCP: "Y"
devices:
- /dev/kvm
- /dev/vhost-net
device_cgroup_rules:
- 'c : rwm'
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
volumes:
- ./tiny10.iso:/custom.iso
- ./datas:/data
networks:
vlan:
ipv4_address: 192.168.2.190
networks:
vlan:
external: true
Docker log
❯ Starting Windows for Docker v4.04...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Xeon X5650 | RAM: 14/32 GB | DISK: 4726 GB (ext4) | KERNEL: 5.4.0-198...
❯ Booting Windows securely using QEMU v9.1.1...
BdsDxe: loading Boot0003 "Windows Boot Manager" from HD(1,GPT,99A2204D-CC56-47C1-B034-5AC78EFA6B8E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0003 "Windows Boot Manager" from HD(1,GPT,99A2204D-CC56-47C1-B034-5AC78EFA6B8E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...
Screenshots (optional)
No response
The text was updated successfully, but these errors were encountered: