1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | server { listen 80; charset utf-8; server_name xxxx.xxxx.com; root /usr/share/nginx/html/cube ; index index.php index.html login.html; autoindex on; autoindex_exact_size off; llangic1014 autoindex_localtime off; location /ops { try_files $uri $uri/ /ops/index .php; } location /deyuan { try_files $uri $uri/ /deyuan/index .php; } location ~ \.php$ { index index.php; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; fastcgi_buffers 8 128k; } } |