Docker of AllTube Download
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
873 B

server {
listen @PORT@;
index index.php;
root /var/www/alltube/;
types {
text/css css;
text/xml xml;
text/html html htm shtml;
application/x-web-app-manifest+json webapp;
}
location ~ /\. {
deny all;
}
location / {
try_files $uri /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
try_files $uri /index.php?$args;
fastcgi_buffers 4 16k;
fastcgi_buffer_size 16k;
fastcgi_index index.php;
fastcgi_intercept_errors off;
fastcgi_pass unix:/run/php-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}