1
0
Fork 0
docker-nextcloud/nextcloud.conf

31 lines
634 B
Plaintext
Raw Permalink Normal View History

2015-02-15 04:37:57 +01:00
# ownCloud
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
2016-11-29 00:21:53 +01:00
root /srv/nextcloud;
2015-02-15 04:37:57 +01:00
index index.php;
client_max_body_size 20M;
location ~ ^/(data|config|\.ht|db_structure\.xml|README) {
deny all;
}
location / {
try_files $uri $uri/ index.php;
}
location ~ \.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
}