ImpressPages on nginx

 Please add following rules to your Nginx configuration for ImpressPages to work and be secure:

#restrict access to the secure folder
location /file/secure/ {
    deny  all;
}

#restrict access to config.php file
location ~ ^/config.php {
    deny all;
}

#restrict access to PHP files in upload directory
location ~ ^/file/(.)*\.php {
    deny  all;
}

#restrict access to ImpressPages bootstrap directory
location ~ ^/Ip/script/ {
    deny all;
}

#route all requests to index.php
location / {
    index index.php;
    try_files $uri $uri/ /index.php$args;
}

If you done this, you can open config.php file and set 'rewritesDisabled' to false to enable SEO friendly URLs.