## TODO: fix hardcoded php version...
- name: reload php-fpm
service:
- name: php8.2-fpm.service
+ name: php8.4-fpm.service
state: reloaded
- name: reload nginx
- name: install php-fpm config
template:
src: php-fpm.conf.j2
- dest: /etc/php/8.2/fpm/pool.d/z_read_last_dokuwiki.conf
+ dest: /etc/php/8.4/fpm/pool.d/z_read_last_dokuwiki.conf
notify: reload php-fpm
include snippets/security-headers.conf;
+ access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
client_max_body_size 4M;
client_body_buffer_size 128k;
listen.group = www-data
pm = dynamic
-pm.max_children = 5
+pm.max_children = 30
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
root {{ r3rsrv.rootdir }};
+ access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
+
location = /events.ics {
return 302 https://status.realraum.at/ics/grical_realraum.ical; # planned: 301
}
root {{ r3rsrv.rootdir }};
access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
location / {
return 307 https://status.realraum.at/;
root {{ r3rsrv.rootdir }};
access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
location / {
return 302 https://doku.realraum.at$request_uri;
root {{ r3rsrv.rootdir }};
access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
location / {
return 302 https://doku.realraum.at$request_uri;
root {{ r3rsrv.rootdir }};
access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
+
# rewrite_log on;
root /srv/r3status/www;
+ access_log off;
+ error_log syslog:server=unix:/dev/log,facility=local1,severity=info;
+
location = /spaceapi.json {
alias {{ r3status_spaceapi_path }}/spaceapi.json;
add_header Access-Control-Allow-Origin "*";