Welcome! Log In Create A New Profile

Advanced

Re: ownCloud nginx config

January 13, 2012 08:36PM
It would be more helpful if you documented these on the wiki:

http://wiki.nginx.org/Configuration#Applications


Regards,
Clif


On Fri, 2012-01-13 at 21:03 +0000, Mark Alan wrote:
> In case anyone needs to setup ownCloud
> http://owncloud.org/ (it is a web-based personal cloud),
> using Debian 6 / Ubuntu 11.10 and Nginx 1.1.12,
>
> here is the config file provided by the ownCloud team:
>
> # nginx - /etc/nginx/sites-available/owncloud
> # nginx must be compiled using --with-http_dav_module,
> server {
> listen 80;
> keepalive_timeout 70;
> server_name cloud.localhost;
> root /var/www/owncloud;
> client_max_body_size 8M;
> #
> dav_methods PUT DELETE MKCOL COPY MOVE;
> create_full_put_path on;
> dav_access user:rw group:rw all:r;
> #
> location / {
> index index.html index.htm index.php;
> }
> location ~ \.php$ {
> include /etc/nginx/fastcgi_params;
> fastcgi_pass unix:/tmp/php-fpm.socket;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME
> $document_root$fastcgi_script_name; }
> location /owncloud {
> index index.php;
> try_files $uri $uri/ @webdav;
> }
> location @webdav {
> fastcgi_split_path_info ^(.+\.php)(/.+)$;
> fastcgi_param SCRIPT_FILENAME
> $document_root$fastcgi_script_name; include fastcgi_params;
> fastcgi_pass unix:/tmp/php-fpm.socket;
> }
> }
> # --- ends here ---
>
> M.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ownCloud nginx config

Mark Alan January 13, 2012 04:04PM

Re: ownCloud nginx config

Cliff Wells January 13, 2012 08:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready