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;
}
XFileSharing Pro - Nginx port
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
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
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.