Skip to content
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

SSL and flylatex with nginx #41

Open
asazo opened this issue Nov 26, 2013 · 1 comment
Open

SSL and flylatex with nginx #41

asazo opened this issue Nov 26, 2013 · 1 comment

Comments

@asazo
Copy link

asazo commented Nov 26, 2013

My team is currently running flylatex with nginx using a proxy from the app running in localhost:3000. Using https in nginx brings troubles when u want to see the preview (not download the pdf). My team has a minor experience with nodejs so we can't be sure what is going on there. While ussing ssl, login, documents operation and download works perfectly except for the preview.

I appreciate any help to this issue.
Thanks for making this project.

@alabid
Copy link
Owner

alabid commented Mar 24, 2014

Sorry for replying late. I'm still a student.

The problem is with pdf.js (from firefox) which is used to display the pdf within a web page. I have disabled the worker which has problems with cross-origin requests and SSL:

PDFJS.disableWorker = true;

and it still seems to work.
Let me know if this fix works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants