Skip to content

Commit

Permalink
🛠 Fix token error with OnlyOffice (linagora#2141)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomaricMourgues authored and Labels Bot committed May 10, 2022
1 parent fa40b5e commit dbf5944
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions twake/docker/twake-nginx/site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ server {
try_files $uri /index.html;
}

location ~ ^/(api/v1).* {
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}

location ~ ^/(internal|plugins).* {
proxy_set_header X-Forwarded-Host $host;
proxy_pass ${NODE_HOST};
Expand Down

0 comments on commit dbf5944

Please sign in to comment.