Nginx and web server

Anyone who has a minimum nginx configuration that can be used to access DevonThink web server?

Welcome @tbjerch
It’s unclear what you’re trying to accomplish here. Can you clarify?

DEVONthink Pro Office includes its own HTTP server, it doesn’t use or support Apache, nginx etc.

Not the clearest question :frowning:

I need a reverse proxy (nginx) sitting infront of a set of services, where one of them is DevonThink. This so that I from outside can allow users (=family) to:

www.familydomain.no/archive --> DevonThink
www.familydomain.no/someOtherService-> SomeOtherService
www.familydomain.no/AntherService-> AnotherService

This already work for other services, but it seems that DevonThink is a bit more picky (may be related to the authentication part)

Hello, I think this should do the trick:

server {
listen 8080;
server_name www.familydomain.no;

location / {
    proxy_pass http://127.0.0.1:60054;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
    proxy_connect_timeout 1;
    proxy_send_timeout 30;
    proxy_read_timeout 30;
  }
}

Just tested it on my Mac and it seemed to work. I’ve never used the web interface so I’m not sure how it’s supposed to work, but it looks like it loads at least.

Impressing and it did work :slight_smile:
But, it did not solve my problem as it only seem to work when location is “/” :frowning:
When location has content (/archive/), the problem remains. It has set me in the right direction though :slight_smile:

Has anyone done this with Caddy?