Guest User

Untitled

a guest
Oct 18th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server;
  4.  
  5. root /var/www/html;
  6. index index.php index.html index.htm index.nginx-debian.html;
  7.  
  8. server_name _;
  9.  
  10. location / {
  11. try_files $uri $uri/ =404;
  12. }
  13.  
  14. location ~ \.php$ {
  15. include snippets/fastcgi-php.conf;
  16. fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  17. }
  18. }
Add Comment
Please, Sign In to add comment