algolia search works local but not on my server (nginx) #3693
grauschnabel
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
when I do a
JEKYLL_ENV=development bundle exec jekyll serve -low
in my project it works fine with the search bar which is configured to use algolia.But a
JEKYLL_ENV=production bundle exec jekyll build
- pushed to the server where it is served with nginx, i get the problem that inside the browser the algolia is not loaded.By using firefox inspect i can see that on public site, served by nginx the html code looks like
but from the local serve there is much more context inside the div
search-searchbar
I tried to figure out why this is missing, but I don't really know. I thought maybe some cross reference issue in my nginx setup, but that fix didn't work. Maybe my fix was wrong or there is something else I miss.
I'm very thankful for every idea you have about this.
Beta Was this translation helpful? Give feedback.
All reactions