webapp hosted on ubuntu server works really slow

I’m hosting my app on Ubuntu 14.04 server and what bothers me is that it loads really slow. is the link to my app as I don’t have domain for it yet. Demo preview isn’t impletented yet (also it’s not going to use database so testing with it wouldn’t give any usefull information), so feel free to login as: Login: test Password: test1234. After you login, at first it looks like angular isn’t loaded properly and is displayed as html, after some time it disappears and then it finally shows properly (last time I checked it took it about 3 minutes to load everything). I’m using sqlite and from what I know it’s designed to be used locally, but I thought that since it’s just a showcase project it will be enough. While being logged in, it’s possible to use the api that will return existing cards as json, which usually is instant.



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Solution to my problem was adding proxy_set_header Connection keep-alive; to nginx .conf file.