SHARE
TWEET

Untitled

a guest Sep 6th, 2016 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
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
 
Top