Web: Doceditor: fixed production config for products/files/doceditor

This commit is contained in:
Artem Tarasov 2022-07-21 12:42:47 +03:00
parent 166eaadde0
commit 0b0a72b43f
2 changed files with 1 additions and 10 deletions

View File

@ -1,9 +0,0 @@
server {
listen 5013;
root /var/www/products/ASC.Files/editor;
index index.html;
location / {
try_files $uri /index.html =404;
}
}

View File

@ -248,7 +248,7 @@ server {
} }
location ~* /files/doceditor { location ~* /files/doceditor {
#rewrite products/files/doceditor/(.*) /$1 break;
proxy_pass http://localhost:5013; proxy_pass http://localhost:5013;
proxy_redirect off; proxy_redirect off;
proxy_set_header Host $this_host; proxy_set_header Host $this_host;