Commit d67e4b7a authored by pedrolab's avatar pedrolab

howto nextcloud fix some issues

parent 710f5601
......@@ -31,7 +31,7 @@ do apache configuration for nextcloud
vi /etc/apache2/sites-available/nextcloud.conf
option /nextcloud - use this configuration if you want to access nextcloud through example.com/nextcloud:
option /nextcloud - use this configuration if you want to access nextcloud through example.com/nextcloud - put in file `/etc/apache2/conf-available/nextcloud.conf`:
```
Alias /nextcloud "/var/www/nextcloud/"
......@@ -50,7 +50,11 @@ Alias /nextcloud "/var/www/nextcloud/"
</Directory>
```
option nextcloud.example.com:
enable config
a2enconf nextcloud.conf
option nextcloud.example.com - in case you use a subdomain like nextcloud.example.com - put in file `/etc/apache2/sites-available/nextcloud.example.com.conf`:
```
<IfModule mod_ssl.c>
......@@ -91,7 +95,7 @@ option nextcloud.example.com:
enable site for apache
a2ensite oficina.exo.cat.conf
a2ensite nextcloud.example.com.conf
add in `/etc/php/7.0/apache2/php.ini`:
......@@ -203,19 +207,15 @@ source https://docs.docker.com/install/linux/docker-ce/debian/
</VirtualHost>
```
[nginx reverse proxy option](https://www.collaboraoffice.com/code/nginx-reverse-proxy/)
enable site
a2ensite collaboraonline.example.com.conf
if your reverse proxy is in localhost
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=nextcloud\\.example\\.com' -e 'dictionaries=en es ..' --restart always --cap-add MKNOD collabora/code
[nginx reverse proxy option](https://www.collaboraoffice.com/code/nginx-reverse-proxy/)
if your reverse proxy is in another host and in the host you installed collabora online is not exposed to the internet directly (and remember to adapt config file of reverse proxy changing localhost to the host you have to go):
if your reverse proxy is in localhost (or change 127.0.0.1 to the interface you can securely listen)
docker run -t -d -p 0.0.0.0:9980:9980 -e 'domain=nextcloud\\.example\\.com' -e 'dictionaries=en es ..' --restart always --cap-add MKNOD collabora/code
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=nextcloud.example.com' -e 'dictionaries=en es ..' --restart always --cap-add MKNOD collabora/code
if you have firewall:
......@@ -226,7 +226,7 @@ a way to validate that collabora online is working:
https://collaboraonline.example.com/hosting/capabilities
## issue with xfs d_type false
## issue related to docker and xfs malfunction
problem: xfs with d_type/ftype false is problematic with docker https://docs.docker.com/storage/storagedriver/overlayfs-driver/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment