Advertisement
Guest User

Untitled

a guest
Apr 9th, 2017
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. server {
  2. listen 80;
  3.  
  4. root /home/nextcloud/www;
  5. server_name nc.oxodao.fr www.nc.oxodao.fr;
  6.  
  7.  
  8. index index.php index.html;
  9.  
  10. error_log /home/nextcloud/error.log warn;
  11. access_log /home/nextcloud/access.log ;
  12.  
  13. location / {
  14. try_files $uri $uri/ =404;
  15. }
  16.  
  17. location ~ \.php$ {
  18. include snippets/fastcgi-php.conf;
  19. #
  20. # # With php5-cgi alone:
  21. # fastcgi_pass 127.0.0.1:9000;
  22. # # With php5-fpm:
  23. fastcgi_pass unix:/var/run/php5-fpm.sock;
  24. }
  25.  
  26. location ~ /\.ht {
  27. deny all;
  28. }
  29.  
  30. location ~ /.well-known {
  31. allow all;
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement