19 lines
372 B
Go
19 lines
372 B
Go
|
server {
|
||
|
listen 80 default_server;
|
||
|
root /app/laravel/public;
|
||
|
index index.php index.html;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.php?$query_string;
|
||
|
}
|
||
|
|
||
|
location ~ .*\.php(\/.*)*$ {
|
||
|
fastcgi_pass laravel:9000;
|
||
|
include fastcgi.conf;
|
||
|
|
||
|
# fastcgi_connect_timeout 300;
|
||
|
# fastcgi_send_timeout 300;
|
||
|
# fastcgi_read_timeout 300;
|
||
|
}
|
||
|
}
|