Skip to content

How to install ipfs.pics on LEMP

Vincent Cloutier edited this page Jun 29, 2016 · 1 revision

Running ipfspics with nginx can be completed by configuring nginx roughly like this:

server
{
        listen      80;
        server_name SUBDOMAIN;
        root        /srv/http/SUBDOMAIN/app;

        location /
        {
                include         fastcgi_params;
                fastcgi_param   SCRIPT_FILENAME $document_root/router.php;
                fastcgi_pass    unix:/var/run/php-fpm/php-fpm.sock;
        }
}
Clone this wiki locally