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

Commit

Permalink
Add nginx config sample
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Sep 30, 2016
1 parent 697cc7e commit 2baa4b7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions core/src/nginx.conf.sample
@@ -0,0 +1,26 @@
# Debian 8 with default /etc/nginx/nginx.conf
# File name: /etc/nginx/sites-available/pydio.conf
server {
listen 80 default_server;
keepalive_requests 10;
keepalive_timeout 60 60;

client_max_body_size 800M;
client_body_buffer_size 128k;

# Document Root
root /usr/share/pydio;

if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}

# nginx configuration
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/lib/php5-fpm/www.sock;
}
}
types {
application/font-woff2 woff2;
}

0 comments on commit 2baa4b7

Please sign in to comment.