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

Why not http? #29

Closed
andreynering opened this issue Mar 27, 2016 · 4 comments
Closed

Why not http? #29

andreynering opened this issue Mar 27, 2016 · 4 comments

Comments

@andreynering
Copy link

I've tried to pull from Gogs, but the following won't work:

http://localhost:4500/...

It tries to fetch the https version:

https://localhost:4500/...

That won't work:

fatal: unable to access 'https://localhost:4500/foo/bar': gnutls_handshake() failed: An unexpected TLS packet was received.
@abiosoft
Copy link
Owner

Yeah, it converts http url to https. This was based off assumption that https is always available.

You can put Gogs behind Caddy to get https.

@andreynering
Copy link
Author

Thank you for responding.

I actually already use caddy. But I am trying to access it through the same machine (localhost), so I can't access it though caddy and HTTPS, which is only available from outside.

@abiosoft
Copy link
Owner

abiosoft commented May 1, 2016

This is supported now. You can build from source or wait for it to arrive on caddysever.com.

@abiosoft abiosoft closed this as completed May 1, 2016
@andreynering
Copy link
Author

@abiosoft Thank you very much! I'll try it when possible.

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