docker-ttrss/ttrss-nginx.conf

25 lines
721 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;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM EDH+AESGCM EECDH -RC4 EDH -CAMELLIA -SEED !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4";
2014-04-26 17:24:57 +02:00
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
}