Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
478 B

  1. server {
  2. listen 80;
  3. # support roundcubemail secure urls
  4. rewrite "^/[a-zA-Z0-9]{16}/(.*)" /$1;
  5. # roundcube
  6. root /var/lib/roundcube;
  7. index index.php;
  8. location ~ \.php$ {
  9. include snippets/fastcgi-php.conf;
  10. fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
  11. }
  12. #deny access to .htaccess files, if Apache's document root
  13. #concurs with nginx's one
  14. location ~ /\.ht {
  15. deny all;
  16. }
  17. }