Advertisement
Guest User

Untitled

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