mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
Remove superfluous LocationMatch block from the Apache FPM config
This commit is contained in:
parent
ebe1917b15
commit
65ea398ff4
@ -1,15 +1,5 @@
|
|||||||
Alias /icingaweb2 "/usr/share/icingaweb2/public"
|
Alias /icingaweb2 "/usr/share/icingaweb2/public"
|
||||||
|
|
||||||
# forwarding PHP requests to FPM
|
|
||||||
<LocationMatch "^/icingaweb2/(.*\.php)$">
|
|
||||||
ProxyPassMatch "fcgi://127.0.0.1:9000/usr/share/icingaweb2/public/$1"
|
|
||||||
<IfModule mod_authz_core.c>
|
|
||||||
# Apache 2.4
|
|
||||||
ProxyErrorOverride on
|
|
||||||
ErrorDocument 503 /icingaweb2/error_unavailable.html
|
|
||||||
</IfModule>
|
|
||||||
</LocationMatch>
|
|
||||||
|
|
||||||
<Directory "/usr/share/icingaweb2/public">
|
<Directory "/usr/share/icingaweb2/public">
|
||||||
Options SymLinksIfOwnerMatch
|
Options SymLinksIfOwnerMatch
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
@ -48,7 +38,7 @@ Alias /icingaweb2 "/usr/share/icingaweb2/public"
|
|||||||
ErrorDocument 404 /icingaweb2/error_norewrite.html
|
ErrorDocument 404 /icingaweb2/error_norewrite.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# forwarding PHP requests to FPM
|
# Forward PHP requests to FPM
|
||||||
<FilesMatch "\.php$">
|
<FilesMatch "\.php$">
|
||||||
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||||||
ErrorDocument 503 /icingaweb2/error_unavailable.html
|
ErrorDocument 503 /icingaweb2/error_unavailable.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user