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.

24 lines
501 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. # With php5-fpm:
  11. fastcgi_pass unix:/var/run/php5-fpm.sock;
  12. }
  13. #deny access to .htaccess files, if Apache's document root
  14. #concurs with nginx's one
  15. location ~ /\.ht {
  16. deny all;
  17. }
  18. }