只需一步,快速开始
# # The default server # server { listen 80; server_name uc.ABC.com; index index.html index.htm index.php; root /data/wwwroot/uc; #error_page 404 /404.html; access_log /data/logs/uc.log; location / { index index.php index.html index.htm; } location ~ .*\.php { fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /data/wwwroot/uc$fastcgi_script_name; include fastcgi_params; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } }
您需要 登录 才可以下载或查看,没有账号?立即注册
使用道具 举报
location ~ .*\.php { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /data/wwwroot/uc$fastcgi_script_name; include fastcgi_params; }
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-12-23 08:13 , Processed in 0.024466 second(s), 3 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.