Есть site.ee работает
Есть site.ee/phpmyadmin работает
Добавляю site.ee/newname получаю 404
конфиг
server { listen 80; root /home/site-ee/www; access_log /home/site-ee/logs/nginx.access.log; server_name site.ee www.site.ee; location / { index index.php index.html index.htm; } location ~ \.php$ { #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location /phpmyadmin { root /usr/share/; index index.php index.html index.htm; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; #fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include /etc/nginx/fastcgi_params; } location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /newname { root /home/newname/www; index index.php index.html index.htm; location ~ ^/newname/(.+\.php)$ { root /home/newname/www; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include /etc/nginx/fastcgi_params; } location ~* ^/newname/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /home/newname/www/; } } location /phpMyAdmin { rewrite ^/* /phpmyadmin last; } }
/home/newname/www/ владелец и права у newname
внутри создал index.html и test.php
А в чем трабл?