On 30.04.2014 01:00, Landry Breuil wrote:
On Tue, Apr 29, 2014 at 05:46:00PM +0300, Atanas Vladimirov wrote:
Update Tiny Tiny RSS to 1.12 (March 21, 2014):

   - Parser / misc bugfixes
   - Default theme update
   - Traditional Chinese (zh_TW) translation
   - Various comics plugins merged into af_comics

Slight correction in README since Apache was replaced with Nginx in base.

Thanks - i'll try to look into this, as for the readme i'll remove the
reference to any webserver in particular (even if i wrote this in the
first place...). Did you test this works with default nginx ? with php-fpm?
Maybe the readme needs better explanation on how to setup this..

Landry

Yes, I use nginx+php-fpm setup from day one.

nginx.conf:
.....................
# HTTPS server
# http -> https
    server {
        listen       80;
        server_name  rss.bsdbg.net;
        rewrite      ^ https://$server_name$request_uri? permanent;
    }
# rss at bsdbg.net -> tinytiny rss
    server {
        listen       443;
        server_name  rss.bsdbg.net;
        root         /var/www/tt-rss;

        ssl                  on;
        ssl_certificate      /etc/ssl/rss.bsdbg.crt;
        ssl_certificate_key  /etc/ssl/private/rss.bsdbg.key;

        ssl_session_timeout  5m;
        ssl_session_cache    shared:SSL:1m;

        ssl_ciphers  HIGH:!aNULL:!MD5:!RC4;
        ssl_prefer_server_ciphers   on;

        location / {
            index  index.html index.htm index.php;
        }

        # pass the PHP scripts to FastCGI server listening on local sock
        #
        location ~ \.php$ {
            try_files      $uri $uri/ =404;
            fastcgi_pass   unix:/var/www/run/php-fpm.sock;
            fastcgi_index  index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include        fastcgi_params;
        }

    }
.....................


Reply via email to