Advertisement
Guest User

Untitled

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