Try the fastest and simplest way to install ONLYOFFICE

nginx configuration duplicate locations

IIS, Apache

nginx configuration duplicate locations

Postby 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: 16
Joined: Mon May 29, 2017 2:57 pm

Re: nginx configuration duplicate locations

Postby 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.
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Return to Web server configuration

Who is online

Users browsing this forum: No registered users and 1 guest