k
Size: a a a
AA
server {
listen 0.0.0.0:80;
root /var/www/html;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass testapp:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
AN
Vs
AN
Vs
[error] 30#30: *1 FastCGI sent in stderr: "Access to the script '/var/www/html/speedtest.js' has been denied (see security.limit_extensions)" while reading response header from upstream
AA
server {
listen 0.0.0.0:80;
root /var/www/html;
index index.php;
try_files $uri $uri/ /index.php?$query_string;
location / {
fastcgi_pass testapp:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}