fix new nextcloud warnings
This commit is contained in:
parent
3ae74a31a2
commit
7b44c557de
2 changed files with 15 additions and 11 deletions
|
|
@ -46,17 +46,18 @@
|
||||||
args:
|
args:
|
||||||
chdir: /var/www/nextcloud
|
chdir: /var/www/nextcloud
|
||||||
with_items:
|
with_items:
|
||||||
- { key: "mail_from_address", value: "{{ nextcloud.mail.from }}" }
|
- { key: "mail_from_address", value: "{{ nextcloud.mail.from }}" }
|
||||||
- { key: "mail_domain", value: "{{ nextcloud.mail.domain }}" }
|
- { key: "mail_domain", value: "{{ nextcloud.mail.domain }}" }
|
||||||
- { key: "mail_smtpmode", value: "{{ nextcloud.mail.mode }}" }
|
- { key: "mail_smtpmode", value: "{{ nextcloud.mail.mode }}" }
|
||||||
- { key: "mail_smtpauthtype", value: "PLAIN" }
|
- { key: "mail_smtpauthtype", value: "PLAIN" }
|
||||||
- { key: "mail_smtphost", value: "{{ nextcloud.mail.server|d('') }}" }
|
- { key: "mail_smtphost", value: "{{ nextcloud.mail.server|d('') }}" }
|
||||||
- { key: "mail_smtpport", value: "25" }
|
- { key: "mail_smtpport", value: "25" }
|
||||||
- { key: "mail_smtppassword", value: "{{ nextcloud.mail.password|d('') }}" }
|
- { key: "mail_smtppassword", value: "{{ nextcloud.mail.password|d('') }}" }
|
||||||
- { key: "mail_smtpname", value: "{{ nextcloud.mail.user|d('') }}" }
|
- { key: "mail_smtpname", value: "{{ nextcloud.mail.user|d('') }}" }
|
||||||
- { key: "memcache.local", value: '{{ "\OC\Memcache\APCu" }}' }
|
- { key: "memcache.local", value: '{{ "\OC\Memcache\APCu" }}' }
|
||||||
- { key: "datadirectory", value: "{{ nextcloud.datadir }}" }
|
- { key: "datadirectory", value: "{{ nextcloud.datadir }}" }
|
||||||
- { key: "defaultapp", value: "files" }
|
- { key: "defaultapp", value: "files" }
|
||||||
|
- { key: "default_phone_region", value: "DE" }
|
||||||
|
|
||||||
- name: copy nextcloud nginx config
|
- name: copy nextcloud nginx config
|
||||||
template:
|
template:
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@ server {
|
||||||
location = /.well-known/caldav {
|
location = /.well-known/caldav {
|
||||||
return 301 https://$host/remote.php/dav;
|
return 301 https://$host/remote.php/dav;
|
||||||
}
|
}
|
||||||
|
location ^~ /.well-known {
|
||||||
|
return 301 https://$host/index.php$uri;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
rewrite ^ /index.php;
|
rewrite ^ /index.php;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue