SHARE
TWEET

Untitled

a guest Jun 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top