| View previous topic :: View next topic |
| Author |
Message |
Arthur
Joined: 04 Dec 2009 Posts: 74
|
Posted: Jan 20, 2011 9:00 pm Post subject: Nginx port |
|
|
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 |
|
 |
chrda
Joined: 14 Sep 2009 Posts: 260
|
Posted: Jan 20, 2011 10:37 pm Post subject: |
|
|
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 |
|
 |
Arthur
Joined: 04 Dec 2009 Posts: 74
|
Posted: Feb 04, 2011 10:13 pm Post subject: |
|
|
| 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 |
|
 |
chrda
Joined: 14 Sep 2009 Posts: 260
|
Posted: Feb 04, 2011 11:14 pm Post subject: |
|
|
| send me an email, and i can see what i can do, got some time this weekend. |
|
| Back to top |
|
 |
Arthur
Joined: 04 Dec 2009 Posts: 74
|
Posted: Feb 04, 2011 11:20 pm Post subject: |
|
|
| whats your email |
|
| Back to top |
|
 |
chrda
Joined: 14 Sep 2009 Posts: 260
|
Posted: Feb 05, 2011 12:17 am Post subject: |
|
|
big button on my post called email  |
|
| Back to top |
|
 |
|