-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving links is slow with nginx as reverse proxy #88
Comments
Mhh I'm afraid I can't help you there, I'm not familiar with this. Two things you could check:
|
I had the same issue and using a separate upstream statement fixed it for me:
I haven't debugged it a lot, but looking at the linkding output it seemed like the
|
@wadimklincov Interesting observation, one guess would be that the function that tries to load the website title + description (called in both /check and /new) either times out or is very slow. Reasons could be:
|
In my case, my docker was not configured correctly and was by default blocking every outgoing request from every container, so the requests from linkding to the bookmarked websites were timing out. I just had not noticed as no other container I had needed to make any outgoing requests. After fixing this configuration, linkding worked correctly. My apologies! |
I have set up an nginx reverse proxy with linkding with ssl on my domain. When I access the app over the ip and port, everything works fine, the app is fast as expected with all tasks such as adding/deleting links, etc.
When using an nginx reverse proxy with ssl, the app slows down greatly, often taking over 30 seconds to add a new bookmark. This is most likely an issue with my nginx configuration but I am not sure what I need to change.
I set up linkding with the docker commands:
docker volume create linkding_data
docker run --name linkding -p 9001:9090 -v linkding_data:/etc/linkding/data -d sissbruecker/linkding:latest
Then adding my nginx configuration
The app looks as expected with styling and everything, but the saving of links is very slow. What do I need to change or add in this configuration?
The text was updated successfully, but these errors were encountered: