I set up a wing ftp server on my ubuntu server. Installation was easy and fast, but now when accessing the site for the first time and logging it, I just get redirected to an empty site. The html is completly empty. No errors or warning in the browser console.
I have also setup a reverse proxy that redirects 443 trafic to the port 5466 (default wing ftp port).
server {
listen 443 ssl http2;
server_name wing.myserver.com;
location / {
proxy_pass http://myserver.com:5466;
}
}
I am also using ufw with those settings:
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
22 ALLOW Anywhere
500,4500/udp ALLOW Anywhere
7777 ALLOW Anywhere
5466 ALLOW Anywhere
80 ALLOW Anywhere
443 ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
500,4500/udp (v6) ALLOW Anywhere (v6)
7777 (v6) ALLOW Anywhere (v6)
5466 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
Strangly, I can't access the webpage when trying to direct connect to http://myserver.com:5466 but only with wing.myserver.com. Disabling the ufw wont change a thing, still can't access it without the reserve proxy.
Any Idea what went wrong or what I could try to get it to work via reverse proxy?