Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /app {
- alias /path/to/folder/lara/public/;
- index index.php index.html index.htm;
- location / {
- try_files $uri $uri/ /index.php?$query_string;
- }
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- include ./fastcgi.conf;
- }
- # block access to .htaccess files
- location ~ /\.ht {
- deny all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement