[Nginx] Fixes #1033
This commit is contained in:
parent
993c998716
commit
e186e350ef
@ -179,7 +179,7 @@ server {
|
|||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
|
|
||||||
location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$ {
|
location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$) {
|
||||||
proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
|
proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_cache sogo;
|
proxy_cache sogo;
|
||||||
@ -364,7 +364,7 @@ server {
|
|||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
|
|
||||||
location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$ {
|
location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$) {
|
||||||
proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
|
proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_cache sogo;
|
proxy_cache sogo;
|
||||||
|
Loading…
Reference in New Issue
Block a user