Nginx + Apache. Always get /var/www/html/index.html
Hi guys. I can't understand why i always get index.html from default folder /var/www/html/index.html. Nginx works like a proxy, and i have a lot of VirtualHosts in apache's config. Also my server supports directadmin for realy cool guys ;). And all this things works on CentOS 5.
There are my config files, posted on http://pastebin.com: /etc/nginx/nginx.conf => http://pastebin.com/v64vCLzK /etc/httpd/conf/httpd.conf => http://pastebin.com/GsPZsGtC /etc/httpd/conf/ips.conf => http://pastebin.com/gf0WXiW9 /etc/httpd/conf/extra/httpd-vhosts.conf => http://pastebin.com/X0NRQSLF /etc/httpd/conf/extra/directadmin-vhosts.conf => http://pastebin.com/0XJHCRJH and one example form included config in directadmin-vhosts.conf => http://pastebin.com/69AXPGAV I can't find solution for second day, and i thinck that i'm going crazy :confused:. Please help me ! |
Alright..
So, looking at your NginX Config file, I understand that you want it to server only gif,jpg,jpeg,png,bmp and swf files. Please, try using NginX config file that I've modified for you on the link below: http://pastebin.com/mjNwGJ7k Let's know if that solves your issue.. - Regards.. |
All times are GMT -5. The time now is 01:53 AM. |