laravel-nginx.conf 402 B

123456789101112131415161718
  1. server {
  2. listen 80 default_server;
  3. root /app/laravel/public;
  4. index index.php index.html;
  5. location / {
  6. try_files $uri $uri/ /index.php?$query_string;
  7. }
  8. location ~ .*\.php(\/.*)*$ {
  9. fastcgi_pass laravel:9000;
  10. include fastcgi.conf;
  11. # fastcgi_connect_timeout 300;
  12. # fastcgi_send_timeout 300;
  13. # fastcgi_read_timeout 300;
  14. }
  15. }