Changes

From SME Server
Jump to navigationJump to search
185 bytes added ,  17:56, 8 November 2020
Line 160: Line 160:  
db domains set cloud.mydomain.com domain Description "Nextcloud" Content Primary Nameservers internet TemplatePath WebAppVirtualHost DocumentRoot /usr/share/nextcloud RequireSSL enabled letsencryptSSLcert enabled
 
db domains set cloud.mydomain.com domain Description "Nextcloud" Content Primary Nameservers internet TemplatePath WebAppVirtualHost DocumentRoot /usr/share/nextcloud RequireSSL enabled letsencryptSSLcert enabled
 
signal-event domain-create cloud.mydomain.com
 
signal-event domain-create cloud.mydomain.com
 +
 +
#this one to let nextcloud dav be redirect correctly
 +
config setprop nextcloud CloudDomain cloud.mydomain.com
 +
expand-template /etc/httpd/conf/httpd.conf
 +
service httpd-e-smith restart
    
#only if you use a Let's Encrypt certificate
 
#only if you use a Let's Encrypt certificate
 
expand-template /etc/dehydrated/domains.txt
 
expand-template /etc/dehydrated/domains.txt
 
dehydrated -c
 
dehydrated -c
 +
 +
    
#to let nextcloud accept this domain
 
#to let nextcloud accept this domain
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu