Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. server {
  2. listen 80;
  3. index index.php index.html;
  4. root /var/www/public;
  5.  
  6. location / {
  7. try_files $uri /index.php?$args;
  8. }
  9.  
  10. location ~ \.php$ {
  11. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  12. fastcgi_pass php:9000;
  13. fastcgi_index index.php;
  14. include fastcgi_params;
  15. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  16. fastcgi_param PATH_INFO $fastcgi_path_info;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement