How to use on Nginx Reverse Proxy? #477
Replies: 6 comments 6 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.
-
|
Just somehow noticed why this didn't work for yall.. Use this fork. It works with above... Just had to get this project back up and going and just went through it all. I was using Traefik but pretty sure that will solve your problems also Also in your compose put /api after both ws and api |
Beta Was this translation helpful? Give feedback.
-
|
I wonder if that should be updated on the main app. EDIT: it seems the last version of Perplexica fix the general issue around here but the current Nginx template could be also updated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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.ymlandnginx.conf?Beta Was this translation helpful? Give feedback.
All reactions