RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Nginx port

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Arthur



Joined: 04 Dec 2009
Posts: 74

PostPosted: Jan 20, 2011 9:00 pm    Post subject: Nginx port Reply with quote

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;
}
Back to top
View user's profile Send private message
chrda



Joined: 14 Sep 2009
Posts: 260

PostPosted: Jan 20, 2011 10:37 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Arthur



Joined: 04 Dec 2009
Posts: 74

PostPosted: Feb 04, 2011 10:13 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
chrda



Joined: 14 Sep 2009
Posts: 260

PostPosted: Feb 04, 2011 11:14 pm    Post subject: Reply with quote

send me an email, and i can see what i can do, got some time this weekend.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Arthur



Joined: 04 Dec 2009
Posts: 74

PostPosted: Feb 04, 2011 11:20 pm    Post subject: Reply with quote

whats your email
Back to top
View user's profile Send private message
chrda



Joined: 14 Sep 2009
Posts: 260

PostPosted: Feb 05, 2011 12:17 am    Post subject: Reply with quote

big button on my post called email Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group