Skip to content

Commit

Permalink
fix: Correction du chemin de l'application
Browse files Browse the repository at this point in the history
  • Loading branch information
David-IGN committed Dec 16, 2024
1 parent 8ae28aa commit c760bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .docker/nginx_dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ server {
server_name localhost;

# Configuration pour l'API Symfony
location / {
location /api/ {

include fastcgi_params;
fastcgi_pass foreg-api:9000; # Nom du service PHP-FPM
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /app/public/index.php; # Peut être à modifié
fastcgi_param SCRIPT_FILENAME /opt/gpe-api/public/index.php; # Peut être à modifié

#try_files $uri /index.php$is_args$args; # Cette ligne redirige vers index.php si le fichier n'existe pas
}
Expand Down

0 comments on commit c760bcb

Please sign in to comment.