Skip to content

Commit

Permalink
🛠 Fix token error with OnlyOffice (#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 a475bd4 commit ea56e53
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 ea56e53

Please sign in to comment.