Mise à jour de 'Sources/config/nginx.conf'
continuous-integration/drone/push Build is passing Details

master
David D'ALMEIDA 9 months ago
parent 884307f6b0
commit f1b97a1c0d

@ -4,25 +4,4 @@ server {
root /var/www/public; root /var/www/public;
error_page 404 /index.php; error_page 404 /index.php;
location ~ ^/(images|javascript|js|css|flash|media|static)/ {
root /var/www/public;
}
location ~ \.php$ {
fastcgi_pass web:9000; # service name defined in docker-compose.yml file like web
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
} }
Loading…
Cancel
Save