Skip to content

Commit

Permalink
fix demo.conf for laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
钟华 committed Jan 12, 2022
1 parent 35f2e9a commit 50b1ef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx/conf.d/demo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ server {
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

location / {
try_files $uri $uri/ /index.php?$query_string;
gzip_static on;
Expand Down

0 comments on commit 50b1ef4

Please sign in to comment.