mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-01-23 13:12:21 +01:00
27 lines
589 B
Plaintext
27 lines
589 B
Plaintext
|
|
root /var/www/roundcube;
|
|
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;
|
|
fastcgi_pass inbox.zathura.leene.dev;
|
|
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;
|
|
}
|