docker-ttrss/ttrss-nginx.conf

25 lines
640 B
Plaintext
Raw Normal View History

2014-04-26 17:24:57 +02:00
server {
listen 443;
root /var/www;
2014-04-26 17:24:57 +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;
ssl_prefer_server_ciphers on;
2015-05-18 00:07:04 +02:00
ssl_ciphers "AES256+EECDH:AES256+EDH:!aNULL";
index index.php index.html;
2014-04-26 17:24:57 +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
}