1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/grommunio-error-pages/0002-conf-webapps-path.patch

19 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;