2014-06-23 3 views
0

최근 우분투 14에 NGinX를 설치했으며 ISPConfig도 설치했습니다. ISPConfig를 사용하는 데 필요한 모든 작업을 수행했지만 URL은 "404 찾을 수 없음"을 계속 말합니다. 지금 잠시 동안 근무하고 해결책을 찾기 couln'tISPConfig는 우분투/Nginx에서 404를 찾을 수 없습니다.

server { 
     listen 8080; 
       ssl off; 

     server_name _; 

     root /usr/local/ispconfig/interface/web/; 

     client_max_body_size 20M; 

     location/{ 
       index index.php index.html; 
     } 
     location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ { 
      access_log  off; 
     } 

     location ~ \.php$ { 
       try_files $uri =404; 
       include /etc/nginx/fastcgi_params; 
       fastcgi_pass unix:/var/lib/php5-fpm/ispconfig.sock; 
       fastcgi_index index.php; 
       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 
       fastcgi_buffer_size 128k; 
       fastcgi_buffers 256 4k; 
       fastcgi_busy_buffers_size 256k; 
       fastcgi_temp_file_write_size 256k; 
     } 

     location ~ /\. { 
       deny all; } } 

..

답변

0

해결 방법 : 다음

내 /etc/nginx/sites-enabled/ispconfig.vhost입니다 :

잘못된 URL을 잘못 말하고 있습니다. , 불편을 끼쳐 8080

죄송 다른 사람이 같은 문제를 해결할 수 있기를 바랍니다 ..

:

나는 8080/ispconfig/URL의 끝에, 그것은 단지 도메인 이름 필요한 때를 언급

관련 문제