ルートフォルダーでxenforoフォーラムを使用します。Codeigniterフレームワークでフォルダー/somefolder/を追加します。nginxcoinfigを編集するにはどうすればよいですか?
server {
listen 80;
server_name wwww.mysite.com mysite.com;
access_log /var/log/nginx/mysite_access.log;
error_log /var/log/nginx/mysite_error.log;
location / {
root /usr/local/www/mysite;
index index.html index.htm index.php;
try_files $uri $uri/ /index.php?$uri&$args;
}
location /internal_data/ {
internal;
}
location /library/ {
internal;
}
location ~ \.php$ {
fastcgi_pass unix:/var/tmp/fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param SCRIPT_FILENAME /usr/local/www/mysite$fastcgi_script_name;
include fastcgi_params;
}