nginx configuration duplicate locations

IIS, Apache
Post Reply
Posts: 16
Joined: Mon May 29, 2017 2:57 pm

nginx configuration duplicate locations

Post by sophie_jane » Sat Jun 24, 2017 4:03 pm

i had to reinstall onlyoffice-documentserver on my Ubuntu 14.04 server due to some sudden issues with the docservice. I'm able to reinstall (via apt-get install onlyoffice-documentserver), but nginx is suddenly complaining about the configuration files:

Code: Select all

nginx: [emerg] duplicate location "/2017-06-09-10-21/" in /etc/nginx/includes/onlyoffice-documentserver-docservice.conf:58
I'm not able to find the other duplicate location, but this is what it's complaining about:

Code: Select all

location /2017-06-09-10-21/ {
  proxy_pass http://docservice/;
If I comment that out, nginx will start without error, and onlyoffice-documentserver seems to work. I can open documents in ownCloud. I see that the location forwards to the docservice. What is that location? Will I run into issues if keep that commented out?

Posts: 1844
Joined: Tue Oct 11, 2016 2:34 pm

Re: nginx configuration duplicate locations

Post by Maxim » Tue Jun 27, 2017 9:06 am

Hello sophie_jane!
It's hard to predict what will happen if you comment out this line.

Post Reply