This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |