Score:0

Wing ftp server with reverse proxy and ufw

us flag

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?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.