Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. ...
  2. location /tms/server {
  3. try_files $uri $uri/ /tms/server/public/index.php?$args;
  4. index index.html index.htm index.php;
  5. location ~ \.php$ {
  6. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  7. fastcgi_pass unix:/var/run/php5-fpm.sock;
  8. fastcgi_index index.php;
  9. include /etc/nginx/fastcgi_params;
  10. set $laravel_uri $request_uri;
  11. if ($laravel_uri ~ tms/server(/?.*)$) {
  12. set $laravel_uri $1;
  13. }
  14. fastcgi_param REQUEST_URI $laravel_uri;
  15. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  16. }
  17. }
  18. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement