Page 1 of 1

English nginx with virtual path

Posted: Fri Dec 21, 2018 2:40 pm
by triton-oidc

I'm trying to use onlyoffice behind a proxy, it works like a charm on the root directory, but when i want to use a virtual PATH, as describe in ... -path.conf

When i go on the url : http://myserver/documentserver-virtual-path/
I get redirected to http://myserver/auth.aspx
instead of

Nginx answer a 404 not found. As the url is missing the documentserver-virtual-path it makes sens

My nginx run on docker
docker run --name just-nginx --rm -i -t -p 80:80 -v /[PATH]/proxy-to-virtual-path.conf:/etc/nginx/conf.d/proxy-to-virtual-path.conf:ro -v /[PATH]/empty_file.conf:/etc/nginx/conf.d/default.conf:ro nginx

onlyoffice :
nginx version: nginx/1.15.7
built by gcc 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
Docker version 1.12.6, build 78d1802

If i'm not on the correct section, apologies (and tell me in wich section should i ask this)

If someone could confirm to be that the nginx configuration file, is not up to date, or that it's not working somewhere else : that could save me a lot of time.

Should i find the solution on my own : i'll post it here.

Thanks for any help

PS: i'm leaving for a 4 week vacation this evening so i won't answer quickly


Re: English nginx with virtual path

Posted: Thu Feb 21, 2019 12:39 pm
by triton-oidc
I didn't found the solution,
I gave up on trying to make it work and i won't check this post,
if an admin could delete this to clean this forum

Thanks for those who read me, and i know it's still a great tool ;)