Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th March 2014, 11:40
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,258
Thanks: 76
Thanked 23 Times in 19 Posts
Question Owncloud + Nginx + ISPCFG3

I see there are howtos for Owncloud but none deals specifically with ISPCFG3.

If I install Owncloud via apt-get, it ends up in /var/www/owncloud so I tried creating a nginx snippet like I use for i.e. phpmyadmin or my webmail thus adding it to any site I like but it doesn't seem to work for Owncloud.

i.e. here is my webmail snippet:

Code:
location /webmail {
               root /var/www/;
               index index.php index.html index.htm;
               location ~ ^/webmail/(.+\.php)$ {
                       try_files $uri =404;
                       root /var/www/;
                       fastcgi_pass 127.0.0.1:9000;
                       fastcgi_index index.php;
                       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                       include /etc/nginx/fastcgi_params;
                       fastcgi_buffer_size 128k;
                       fastcgi_buffers 256 4k;
                       fastcgi_busy_buffers_size 256k;
                       fastcgi_temp_file_write_size 256k;
                       fastcgi_intercept_errors on;
               }
               location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
                       root /var/www/;
               }
        }
I've inserted that into /usr/local/ispconfig/server/conf-custom/nginx_vhost.conf.master and it works perfectly.

Is it possible to install Owncloud via apt-get and make it available to several customers while using ISPCFG3 or do I need to manually install it for each client?

I'm also aware that there could be security issues, i.e. I'd probably need to make the /var/www/owncloud folders readable/writeable by www-data to allow multiple clients to use it?

Any thoughts? Anyone using Owncloud for multiple clients on one server? How do you do it?

Last edited by Ovidiu; 17th March 2014 at 11:42.
Reply With Quote
Sponsored Links
  #2  
Old 17th March 2014, 11:54
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,258
Thanks: 76
Thanked 23 Times in 19 Posts
Default

Found a similar discussion on the Owncloud forums: http://forum.owncloud.org/viewtopic.php?f=26&t=19570
Reply With Quote
  #3  
Old 27th March 2014, 01:08
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,258
Thanks: 76
Thanked 23 Times in 19 Posts
 
Default

anyone using Owncloud with ISPCFG3? Any advice at all?
Reply With Quote
Reply

Bookmarks

Tags
ispcfg3, nignx, owncloud

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help convert htaccess to nginx ababneh HOWTO-Related Questions 6 5th April 2013 00:19
weird behavior with perfect Debian nginx server + ISPCFG3 Ovidiu General 2 12th January 2013 11:29
nginx Reverse Proxy on Separate Server from Apache atjensen11 HOWTO-Related Questions 2 8th September 2012 22:26
A Working Nginx Catchall with ISPConfig 3. renders Tips/Tricks/Mods 4 15th April 2011 21:53
ISPCFG3 and nginx Ovidiu Developers' Forum 11 24th January 2011 04:32


All times are GMT +2. The time now is 15:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.