Skip to content

Commit ea56e53

Browse files
Romaric MourguesLabels Bot
authored andcommitted
🛠 Fix token error with OnlyOffice (#2141)
1 parent a475bd4 commit ea56e53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

twake/docker/twake-nginx/site.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ server {
5858
try_files $uri /index.html;
5959
}
6060

61+
location ~ ^/(api/v1).* {
62+
# try to serve file directly, fallback to rewrite
63+
try_files $uri @rewriteapp;
64+
}
65+
6166
location ~ ^/(internal|plugins).* {
6267
proxy_set_header X-Forwarded-Host $host;
6368
proxy_pass ${NODE_HOST};

0 commit comments

Comments
 (0)