diff options
author | Andras Timar <andras.timar@collabora.com> | 2021-11-19 12:29:22 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-11-19 13:27:27 +0100 |
commit | b6182877a8047d5b769a5a8b53bca6030192825e (patch) | |
tree | 5b1981234d383785c07748c4c021bf33c04bd9ae /etc | |
parent | coolconvert: fix stack-use-after-scope (diff) | |
download | online-b6182877a8047d5b769a5a8b53bca6030192825e.tar.gz online-b6182877a8047d5b769a5a8b53bca6030192825e.zip |
backward compatibility: /lool/convert-to endpoint
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8a3930a01a18be32bee657142f872ba58383594d
Diffstat (limited to 'etc')
-rw-r--r-- | etc/apache2/coolwsd.conf | 3 | ||||
-rw-r--r-- | etc/nginx/coolwsd.conf | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/apache2/coolwsd.conf b/etc/apache2/coolwsd.conf index 4796f5e5d5..f7ecb6f665 100644 --- a/etc/apache2/coolwsd.conf +++ b/etc/apache2/coolwsd.conf @@ -33,3 +33,6 @@ # Download as, Fullscreen presentation and Image upload operations ProxyPass /cool http://127.0.0.1:9980/cool ProxyPassReverse /cool http://127.0.0.1:9980/cool + # Compatibility with integrations that use the /lool/convert-to endpoint + ProxyPass /lool http://127.0.0.1:9980/cool + ProxyPassReverse /lool http://127.0.0.1:9980/cool diff --git a/etc/nginx/coolwsd.conf b/etc/nginx/coolwsd.conf index b0fb7105bd..6d0814ea51 100644 --- a/etc/nginx/coolwsd.conf +++ b/etc/nginx/coolwsd.conf @@ -26,7 +26,8 @@ } # download, presentation and image upload - location ~ ^/cool { + # we accept 'lool' to be backward compatible + location ~ ^/(c|l)ool { proxy_pass http://localhost:9980; proxy_set_header Host $http_host; } |