Перейти к содержанию

CMS Made Simple

CMS Made Simple is an open-source content management system for the rest of us.

Requirements


Configuration

server {
    listen 80;
    server_name .domain.tld;
    root /var/www/cms;
    index index.php index.html index.htm;

    location / {
        try_files $uri $uri/ /index.php?page=$request_uri;
    }

    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_param HTTP_PROXY "";
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
}