Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. # Своя конфигурация
  2. index index.php;
  3. rewrite_log on;
  4. location /core/ {
  5. deny all;
  6. }
  7.  
  8.  
  9. # location / {
  10. # try_files $uri $uri/ @rewrite;
  11. # }
  12.  
  13.  
  14. # location @rewrite {
  15. # rewrite ^/(.*)$ /index.php?q=$1;
  16. # }
  17.  
  18.  
  19. location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|bmp)$ {
  20. access_log off;
  21. expires 10d;
  22. break;
  23. }
  24. location ~ /\.ht {
  25. deny all;
  26. }
  27.  
  28.  
  29. # ////Своя конфигурация
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement