1
submitted 1 year ago by Herlock@alien.top to c/main@selfhosted.forum

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 !

top 4 comments
sorted by: hot top controversial new old
[-] yakzazazord@alien.top 1 points 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.top 1 points 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.top 1 points 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.top 1 points 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

this post was submitted on 20 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS