Hi gang,

So I got photosprim installed with docker on my system, works great.

I have added nginx and my domain name to access my photoprism from the internet and it works. BUT photoprism complains that it’s “offline” and apparently I need to do something in my nginx setup.

Photoprism does conveniently refer to this page of the documentation : https://docs.photoprism.app/getting-started/proxies/nginx/

But I don’t understand what I am supposed to do with this, how or where…

Can someone help me out please ?

Thanks in advance !

  • yakzazazord@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    So can you access it or not ? You’re saying it works, but the main app is offline.

    Also if you just want to use it as a reverse proxy you can try nginx-proxy manager, I find it easier to configure than “classic” nginx.

    • Herlock@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I can access it, the app does work, but within the app it says I am offline and some backend stuff (I guess hosted by photoprism itself) isn’t working.

  • SamSausages@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I don’t use photoprism, but have experienced similar in other docker containers. What is most likely happening is that something, like headers/ports, needs to be forwarded by NPM, usually b adding additional config to the “advanced” tab in NPM.
    Sorry, I’m not familiar enough with photoprism to know what exactly needs to be added to the config, but I since nobody has replied, I thought it might at least give you a direction to search in.

    • Herlock@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thanks a bunch, that was also my assumption but I am a bit lost at the documentation given by photoprism in that regard (see OP). Some variables I can guess what they are, but for example they ask for the path of the certificates and they are in the docker container… not sure where that is.

      I am a complete noobie with those things, so I learn slowly :P