You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
448 B

5 years ago
  1. server {
  2. listen 80;
  3. server_name docker.antbasic.com;
  4. root /www/love-app/backend/web;
  5. index index.php;
  6. location / {
  7. try_files $uri $uri/ /index.php?$args;
  8. }
  9. location ~ \.php$ {
  10. fastcgi_pass php:9000;
  11. fastcgi_index index.php;
  12. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  13. include fastcgi_params;
  14. }
  15. access_log /var/log/nginx/access.log;
  16. }