Line 36: |
Line 36: |
| yum --enablerepo=smecontribs install {{#var:smecontribname}} | | yum --enablerepo=smecontribs install {{#var:smecontribname}} |
| | | |
− | then install domain | + | then install domain if you have two separate |
| MYDOMAIN="onlyoffice.mydomain.com" | | MYDOMAIN="onlyoffice.mydomain.com" |
− | config setprop onlyoffice VirtualHost $MYDOMAIN | + | config setprop onlyoffice VirtualHost $MYDOMAIN RejectUnauthorized true access local |
| db domains set $MYDOMAIN domain Content Primary Description onlyoffice Nameservers Self letsencryptSSLcert enabled TemplatePath Onlyoffice | | db domains set $MYDOMAIN domain Content Primary Description onlyoffice Nameservers Self letsencryptSSLcert enabled TemplatePath Onlyoffice |
| signal-event domain-create $MYDOMAIN | | signal-event domain-create $MYDOMAIN |
| expand-template /etc/dehydrated/domain.txt | | expand-template /etc/dehydrated/domain.txt |
| dehydrated -c | | dehydrated -c |
| + | signal-event smeserver-onlyoffice-update |
| + | |
| + | if you have only one domain/subdomain and you have certificate for it |
| + | config setprop onlyoffice RejectUnauthorized true access public |
| signal-event smeserver-onlyoffice-update | | signal-event smeserver-onlyoffice-update |
| | | |
Line 48: |
Line 52: |
| config setprop onlyoffice RejectUnauthorized false access public | | config setprop onlyoffice RejectUnauthorized false access public |
| signal-event smeserver-onlyoffice-update | | signal-event smeserver-onlyoffice-update |
| + | |
| + | |
| + | NB: in two last step you could choose private if you only want it to be accessible from LAN. |
| | | |
| </tab> | | </tab> |