Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server;
  4.  
  5. root /var/www/admin.casadosindico;
  6.  
  7. index index.php;
  8.  
  9. location /admin/ {
  10. try_files $uri $uri/ /index.php;
  11.  
  12. location = /index.php {
  13. include snippets/fastcgi-php.conf;
  14. fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  15. }
  16. }
  17.  
  18. location ~ \.php$ {
  19. return 444;
  20. }
  21.  
  22. location ~ /\.ht {
  23. deny all;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement