1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

attempting to fix broken static files etc

This commit is contained in:
jkaberg 2014-08-11 18:46:39 +02:00
parent 3540a1677d
commit 20b494c3ac

View File

@ -51,13 +51,16 @@ server {
alias /usr/local/lib/owncloud/;
}
location ~ /owncloud/.*\.php {
location ~ ^/owncloud/(.+?\.php)/? {
fastcgi_split_path_info ^/owncloud/(.+?\.php)(/?.*)$;
set $path_info $fastcgi_path_info;
# try_files $fastcgi_script_name = 404;
include fastcgi_params;
fastcgi_split_path_info ^/owncloud(/.*)()$;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/owncloud/$fastcgi_script_name;
fastcgi_param PATH_INFO $path_info;
fastcgi_param HTTPS on;
fastcgi_param SCRIPT_NAME /owncloud/$fastcgi_script_name;
fastcgi_pass unix:/tmp/php-fastcgi.www-data.sock;
client_max_body_size 20M;
}
location ~ ^/(data|config|\.ht|db_structure\.xml|README) {