How to use on Nginx Reverse Proxy? #477
Replies: 4 comments 3 replies
-
Inside nginx.conf
where i did localhost in above example for pointing to services your could also use internal IPs as long as everything is on the same network. The API is really the only tricky part. I'm currently using traefik.. I find it simpler and just like it more but the above should be good to go for NGINX Also.. To get this working in Traefik atleast but likely nginx also. in my docker-compose modify yours to be equivilent to below
the /api is for some reason necessary to be on both. clean build w/
|
Beta Was this translation helpful? Give feedback.
-
Thanks @ms-jpq, I tried your config and now I see a different error:
Tried with and without |
Beta Was this translation helpful? Give feedback.
-
@satonotdead I got mine working with the following: This comment helped: #142 (comment)
|
Beta Was this translation helpful? Give feedback.
-
Thanks @kjbrum, I tried this configuration and I see this error on console:
Curl show status 200 onlocalhost but I can't still get it through Nginx. |
Beta Was this translation helpful? Give feedback.
-
Coming from #62 #69 #142 #154 #241 #244 #318 #467 and after trying by months, I just can't get Perplexica working behind Nginx reverse proxy.
Can someone share their current working templates of
docker-compose.yml
andnginx.conf
?Beta Was this translation helpful? Give feedback.
All reactions