2022-11-12 16:54:48 +01:00
|
|
|
|
2022-11-13 10:41:45 +01:00
|
|
|
root /var/www/roundcube;
|
2022-11-12 16:54:48 +01:00
|
|
|
index index.php index.html index.htm;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
try_files $uri $uri/ /index.php?q=$uri&$args;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
|
|
try_files $uri =404;
|
|
|
|
fastcgi_keep_conn on;
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
|
|
|
fastcgi_index index.php;
|
2022-11-13 10:19:12 +01:00
|
|
|
fastcgi_pass inbox.zathura.leene.dev;
|
2022-11-12 16:54:48 +01:00
|
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
include fastcgi_params;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
|
|
|
|
deny all;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ ^/(bin|SQL)/ {
|
|
|
|
deny all;
|
|
|
|
}
|