Advertisement
Guest User

Untitled

a guest
Apr 19th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.49 KB | None | 0 0
  1. location /app {
  2.             alias /path/to/folder/lara/public/;
  3.             index index.php index.html index.htm;
  4.  
  5.                 location ~ \.php$ {
  6.                     include ./fastcgi.conf;
  7.                     fastcgi_pass 127.0.0.1:9000;
  8.                     fastcgi_param SCRIPT_FILENAME $request_filename;
  9.                 }
  10.  
  11.           try_files $uri $uri/ /index.php$is_args$args;
  12. }
  13.  
  14.         # block access to .htaccess files
  15.         location ~ /\.ht {
  16.           deny all;
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement