Advertisement
Guest User

Untitled

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