XFileSharing Pro - Nginx port

Powerfull XFileSharing version

Moderator: admin

Message
Author
Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

Nginx port

#1 Postby Arthur » Jan 20, 2011 9:00 pm

So I tried to change the nginx port from 182 to 80 and I edited index_dl.cgi and nginx.conf (usr/local/nginx/conf/nginx.conf) in some of the file servers and it didnt work at all. Even when I change the file server nginx config file the downloads still work off of port 182 untill i change it in index_dl.cgi, so maybe I am missing a step? The reason why I want to change the port 182 is because lot of people have trouble downloading. For example proxy site say invalid port. Please help. Support hasnt replied to me for a week,

This is what I have int he conf file:

server {
listen 80;
server_name localhost;
proxy_set_header X-Real-IP $remote_addr;

#charset koi8-r;

location /nstatus {
stub_status on;
#allow 127.0.0.1;
#deny all;
}

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm
Contact:

#2 Postby chrda » Jan 20, 2011 10:37 pm

You can start with making nginx listen to a certain IP.

Do the same with apache, else they will crash together.

you can also set nginx to listen to both ports. so it makes it easier to change the code.

i dont remember fully, need to see the code to see. But i think you need to change both index.cgi and index_dl.cgi

Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

#3 Postby Arthur » Feb 04, 2011 10:13 pm

Couldn't figure this out and support hasnt been replying to me for 3 weeks now. This a is a major fix I need. With nginx turned on it only downs via 182 port which doesnt support some users using proxies and such. I even told support to turn off all ip check thinking it might solve the issue but it didnt do anything. Please if anyone knows how to fix this I willing to pay support for it.

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm
Contact:

#4 Postby chrda » Feb 04, 2011 11:14 pm

send me an email, and i can see what i can do, got some time this weekend.

Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

#5 Postby Arthur » Feb 04, 2011 11:20 pm

whats your email

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm
Contact:

#6 Postby chrda » Feb 05, 2011 12:17 am

big button on my post called email :)


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests