CaramelFur/Picsur

host as subdirectory

steagsInc opened this issue · 1 comments

Hi,

I'm trying to host the app as a sub directory with nginx

location /gallery/ {
            proxy_pass http://picsur:8080/;
            proxy_set_header Host $host/gallery/;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $remote_addr;
        }

I get the landing page but then it load indefinitely because it tries to get resources at / and not a /gallery/

do you know if their is any way to solve this ?

Hi there, and sorry but Picsur is not made to be run in a subdirectory.