aports/testing/grommunio-error-pages/0002-conf-webapps-path.patch
2024-06-18 12:00:22 +00:00

20 lines
729 B
Diff

# Fix web application directory to match Alpine Linux standards
diff -ruN a/snippets/grommunio-error-pages.conf b/snippets/grommunio-error-pages.conf
--- a/snippets/grommunio-error-pages.conf 2024-03-11 14:56:08.558291887 +0100
+++ b/snippets/grommunio-error-pages.conf 2024-03-11 14:56:47.038274390 +0100
@@ -42,12 +42,12 @@
fastcgi_intercept_errors on;
location ~* /_errors/ {
- root /usr/share/grommunio-error-pages;
+ root /usr/share/webapps/grommunio-error-pages;
allow all;
}
location ^~ /grommunio-error-pages/ {
- root /usr/share/;
+ root /usr/share/webapps/;
sub_filter '%{HOSTNAME}' $host;
sub_filter '_errors/' '/_errors/';
sub_filter_once off;