allow-recursion { trusted; };
allow-query-cache { trusted; };
- dnssec-validation yes;
+ dnssec-validation auto;
listen-on {
{{ core_addr }};
#+NAME: bind-local
#+CAPTION: ~bind-local~
#+BEGIN_SRC conf
-include "/etc/bind/zones.rfc1918";
-
zone "{{ domain_priv }}." {
type master;
file "/etc/bind/db.domain";
- name: Set PHP memory_limit for Nextcloud.
become: yes
lineinfile:
- path: /etc/php/8.2/apache2/php.ini
+ path: /etc/php/8.4/apache2/php.ini
regexp: "memory_limit *="
line: "memory_limit = 768M"
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
- dest: /etc/php/8.2/mods-available/nextcloud.ini
+ dest: /etc/php/8.4/mods-available/nextcloud.ini
notify: Restart Apache2.
- name: Enable Nextcloud PHP modules.
become: yes
command:
cmd: phpenmod {{ item }}
- creates: /etc/php/8.2/apache2/conf.d/20-{{ item }}.ini
+ creates: /etc/php/8.4/apache2/conf.d/20-{{ item }}.ini
loop: [ nextcloud, apcu ]
notify: Restart Apache2.
#+END_SRC
allow-recursion { trusted; };
allow-query-cache { trusted; };
- dnssec-validation yes;
+ dnssec-validation auto;
listen-on {
{{ core_addr }};
become: yes
copy:
content: |
- include "/etc/bind/zones.rfc1918";
-
zone "{{ domain_priv }}." {
type master;
file "/etc/bind/db.domain";
- name: Set PHP memory_limit for Nextcloud.
become: yes
lineinfile:
- path: /etc/php/8.2/apache2/php.ini
+ path: /etc/php/8.4/apache2/php.ini
regexp: "memory_limit *="
line: "memory_limit = 768M"
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
- dest: /etc/php/8.2/mods-available/nextcloud.ini
+ dest: /etc/php/8.4/mods-available/nextcloud.ini
notify: Restart Apache2.
- name: Enable Nextcloud PHP modules.
become: yes
command:
cmd: phpenmod {{ item }}
- creates: /etc/php/8.2/apache2/conf.d/20-{{ item }}.ini
+ creates: /etc/php/8.4/apache2/conf.d/20-{{ item }}.ini
loop: [ nextcloud, apcu ]
notify: Restart Apache2.