-
Notifications
You must be signed in to change notification settings - Fork 26
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
Problems serving using spdy module over SSL #29
Comments
I presume that you don't use |
No, I don't use the debops.pki role on purpose (yet! Waiting for ACME ;) ) but I think it still does some stuff with DH parameters. Anyway, other SSL sites work fine. Another data point that makes me sure it's something nginx/php related: when I enable both the http(s) sites (redirect_to_ssl: False), I still can only log in on http, but once I've authenticated and moved on to index.php/files address, I can switch the https server. It seems like the login POST to index.php is getting dropped on the https server. I've attached the nginx file, with the domain replaced with "example.com" |
One of the things that comes to mind is the blocking of dotfiles in DH parameters are probably handled by What happens if you remove |
It can't be the dotfiles since everything works fine over http with the same dotfiles blocking. I had tried One final data point, on chromium I get a |
Not much more I can help with this... Do you do this on Debian? Did you try it with "full" DebOps, PKI and all, just to see if it works then? |
Thanks for your ideas! I'll keep banging away at it and report back if I figure it out. I think this role should be SSL enabled (probably default) so I'll work towards that. |
I did some more digging around the project, and found debops/ansible-nginx#71 (comment) and now I understand what you meant by "full" debops. Apparently by missing the bootstrap_domain variable, I am missing out on some nice stuff! I'll try it. As an aside, that comment (verbatim, probably) would make a great "Getting started" guide of sorts. A lot of the ones I've found scattered around the project are conflicting / inaccurate / wrong. |
I'm working on updates to the general playbook documentation, since it was written a while ago. I think one of the hard to solve problems with project like DebOps is that some specific parts, say, HTTPS enabled in a webserver, depend on other parts, in this case a set of X.509 certificates present on a host. Without the certificates The But, to do its job, So the whole relationship chain is something like, DNS -> debops.pki -> X.509 certificates -> debops.nginx -> HTTPS website. This is probably very obscure without knowing about all these relationships, and if you accidentally or intentionally break one part of the chain, weird things might happen. I'm trying to make this easier, a better documentation and perhaps some tutorials could go a long way, but it will take time. What I'm getting here at is, DebOps roles are meant to work together, it is intentional. If you try to use them separately, they will most likely work, but using them together gives you definitely a better experience. As they say, the whole is more than just the sum of its parts. |
Okay, now that I've drunk the full pki koolaid ;) I revisited this issue. I also learned that For reference, the following browsers fail in some way after successful owncloud login:
This browser works:
|
@sread So... Just for kicks, I've set up a host with ownCloud, MariaDB, nginx 1.6.2 from Debian Jessie with enabled Did you try it with basically full DebOps playbook, or just custom set of roles? |
That's my setup exactly... Thanks for going the extra mile, I'll poke around at this again when I have some time. |
@sread Any updates? |
Closing for now. Feel free to update the issue. |
Trying to serve this role over SSL. I copied the entire "owncloud_nginx_server:" block from /vars/main.yml and added the following:
I can access the login screen properly over HTTPS, and everything is nice there, but as soon as I put in the username/password, the little login spinner just goes around. I can't find any errors in any logs that relate to this (although I'm new to nginx). If I put in a wrong password, it knows.
Help?
The text was updated successfully, but these errors were encountered: