docker-ttrss/ttrss-nginx.conf
x86dev cbde54034d Implemented rolling release support:
- Now basing on image 'kdelfour/supervisor-docker'
    - Cron script will check and update TT-RSS and all plugins on a daily basis automatically
    - SSL/TLS encryption is off by default so that TT-RSS is running on port 80 by default now
    - SSL/TLS can be enabled with setting "-e TTRSS_SSL_ENABLED=1"
    - A lot of cleanups
2015-09-04 17:12:37 +02:00

25 lines
680 B
Plaintext

server {
listen 443;
root /var/www/ttrss;
ssl on;
ssl_certificate /etc/ssl/certs/ttrss.crt;
ssl_certificate_key /etc/ssl/private/ttrss.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "AES256+EECDH:AES256+EDH:!aNULL";
index index.php index.html;
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;
}
}