Disable HTTP 500 error pages on web Uberspaces

master
Lukas Bestle 3 years ago
parent aa1f5caa70
commit 8aad9019a2
Signed by: lukas
GPG Key ID: 692037D104550FC9

@ -118,3 +118,12 @@
- name: Enable PHP error log
command: uberspace web log php_error enable
when: "'is enabled' not in uberspace_log_php_error_status_result.stdout"
- name: Check if the 500 error page is disabled
command: uberspace web errorpage 500 status
register: uberspace_error_page_500_status_result
changed_when: no
- name: Disable 500 error page
command: uberspace web errorpage 500 disable
when: "'is disabled' not in uberspace_error_page_500_status_result.stdout"

Loading…
Cancel
Save