#Nginx Default Recommended Config has an issue

1 messages · Page 1 of 1 (latest)

mortal python
fleet prawn
#

what is the reverse proxy are you using?

mortal python
#

nginx

fleet prawn
#

And to confirm, you are not using immich-proxy container, correct?

mortal python
#

no.. i have a webserver in a vps.. which is also connected to my home pc via a vpn .. the VPS acts as a reverse proxy

fleet prawn
#

I don't have a good understanding about your setup. Anyway the template nginx doesn't mean to be used as a standalone file

#

You can run Immich stack as is and then from your reverse proxy, point your dns to immich-ip:2283

#

then you should be good to go

mortal python
#

yes , pretty much what i did with a proxy pass to 10.100.40.20:2283 i.e. my local pc at home

#

btw.. reloading this updated nginx reverse proxy fixed the delete issue.. However the missing unsynced image remains

#

just FYI .. incase someone else runs into it ..

sudden lagoon
#

I have a very simple proxy block in front of the immich container proxy:

    client_max_body_size 0; 

    location / {
    include directives/proxy.conf;
        proxy_set_header Upgrade        $http_upgrade;
        proxy_set_header Connection     "Upgrade";
        proxy_http_version              1.1;
    proxy_max_temp_file_size    96384m;
    proxy_pass http://127.0.0.1:3300;
    }
#

@mortal python it sounds like you're looking at the internal proxy as a reference for what to do with an upstream reverse-proxy... which I don't think is a good idea.

mortal python
#

@sudden lagoon the internal proxy is just another device on the vpn .. its actually how upstream proxies are supposed to be used.. specially for load balancing..