Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 79e0359

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 339f543 + 2baa4b7 commit 79e0359

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

core/src/nginx.conf.sample

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Debian 8 with default /etc/nginx/nginx.conf
2+
# File name: /etc/nginx/sites-available/pydio.conf
3+
server {
4+
listen 80 default_server;
5+
keepalive_requests 10;
6+
keepalive_timeout 60 60;
7+
8+
client_max_body_size 800M;
9+
client_body_buffer_size 128k;
10+
11+
# Document Root
12+
root /usr/share/pydio;
13+
14+
if (!-e $request_filename){
15+
rewrite ^(.*)$ /index.php break;
16+
}
17+
18+
# nginx configuration
19+
location ~ \.php$ {
20+
include snippets/fastcgi-php.conf;
21+
fastcgi_pass unix:/var/lib/php5-fpm/www.sock;
22+
}
23+
}
24+
types {
25+
application/font-woff2 woff2;
26+
}

0 commit comments

Comments
 (0)