2014-04-26 17:24:57 +02:00
|
|
|
server {
|
2014-05-19 09:33:44 +02:00
|
|
|
listen 443;
|
|
|
|
|
root /var/www;
|
2014-04-26 17:24:57 +02:00
|
|
|
|
2014-05-19 09:33:44 +02:00
|
|
|
ssl on;
|
|
|
|
|
ssl_certificate /etc/ssl/certs/ttrss.cert;
|
|
|
|
|
ssl_certificate_key /etc/ssl/private/ttrss.key;
|
2015-05-18 00:07:04 +02:00
|
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
2014-05-19 09:33:44 +02:00
|
|
|
ssl_prefer_server_ciphers on;
|
2015-05-18 00:07:04 +02:00
|
|
|
ssl_ciphers "AES256+EECDH:AES256+EDH:!aNULL";
|
|
|
|
|
|
2014-05-19 09:33:44 +02:00
|
|
|
index index.php index.html;
|
2014-04-26 17:24:57 +02:00
|
|
|
|
2014-05-19 09:33:44 +02:00
|
|
|
location / {
|
|
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
|
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
|
|
|
fastcgi_index index.php;
|
|
|
|
|
include fastcgi_params;
|
|
|
|
|
}
|
2014-04-26 17:24:57 +02:00
|
|
|
}
|