Skip to content

Commit

Permalink
Merge pull request #146 from ONLYOFFICE/feature/editor-nextjs
Browse files Browse the repository at this point in the history
Feature/editor nextjs
  • Loading branch information
AlexeySafronov authored Feb 29, 2024
2 parents 8fdf63f + de8ad14 commit 0b76fbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
14 changes: 1 addition & 13 deletions config/nginx/onlyoffice.conf
Original file line number Diff line number Diff line change
Expand Up @@ -206,21 +206,9 @@ server {
proxy_pass http://127.0.0.1:5013;
proxy_redirect off;

location ~* /static/favicon.ico {
try_files /$basename /index.html =404;
}

location ~* /static/images/(.*)$ {
location ~* /_next/public/images/(.*)$ {
try_files /images/$1 /index.html =404;
}

location ~* /static/css/ {
try_files /css/$basename /index.html =404;
}

location ~* /static/fonts/(?<content>[^/]+) {
try_files /fonts/$content/$basename /index.html =404;
}
}

location /login {
Expand Down
3 changes: 2 additions & 1 deletion run/Editors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<name>ONLYOFFICE Editors SSR</name>
<startmode>manual</startmode>
<executable>node</executable>
<arguments>../../publish/web/editor/server.js</arguments>
<arguments>server.js</arguments>
<workingdirectory>%BASE%\..\..\client\packages\doceditor</workingdirectory>
<log mode="none"/>
<delayedAutoStart>true</delayedAutoStart>
<onfailure action="none" />
Expand Down

0 comments on commit 0b76fbb

Please sign in to comment.