I want to migrate some sites from apache to nginx. I have installed a test server in VMware based on Ubuntu server.
After following the instructions the nginx, php-fbd and MySQL are set and working properly.
The CMSMS installation went without any problems but there are two major issues with the site:
1. The template is not shown - only text and hyperlinks. However the admin site is working with the new OneEleven theme. I have tried changing the default template to another but that didn't solve anything.
2. In the admin console the MicroTiny WSIWYG editor is not working.
The nginx default configuration is:
Code: Select all
server {
listen 80; ## listen for ipv4; this line is default and implied
root /var/www/;
index index.php;
server_name localhost;
location / {
try_files $uri $uri/ /index.php?page=$request_uri;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/tmp/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
Thanks!