tasks/docker/nginx-templates/default.conf.template

22 lines
451 B
Text
Raw Normal View History

server {
listen 80;
index index.php;
root /var/www/tasks/site;
location / {
try_files $uri /index.php$request_uri;
}
location /index.php/ {
fastcgi_pass application:9000;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME "/index.php";
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
}
}