1
0
docker-ttrss/ttrss.nginx.conf

36 lines
732 B
Plaintext
Raw Normal View History

daemon off;
pid /run/nginx.pid;
worker_processes 1;
2014-04-26 17:24:57 +02:00
events {
worker_connections 1024;
}
2014-04-26 17:24:57 +02:00
http {
include mime.types;
default_type application/octet-stream;
2014-04-26 17:24:57 +02:00
sendfile on;
keepalive_timeout 65;
gzip on;
server {
listen 80;
root /var/www;
2014-04-26 17:24:57 +02:00
index index.php index.html;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
}
}
}