Advertisement
Guest User

Untitled

a guest
Sep 6th, 2016
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.49 KB | None | 0 0
  1. server {
  2.     listen 80 default_server;
  3.     listen [::]:80 default_server;
  4.    
  5.     root /var/laravel/public;
  6.     index index.php index.html index.htm index.nginx-debian.html;
  7.  
  8.     server_name #IP removed for posting to Pastebin#;
  9.  
  10.     location / {
  11.         try_files $uri $uri/ /index.php?$query_string;
  12.     }
  13.     location ~ \.php$ {
  14.         include snippets/fastcgi-php.conf;
  15.         fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  16.     }
  17.  
  18.     location ~ /\.ht {
  19.         deny all;
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement