-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Question]: Is the SSL Cert for the BB Subdomain made automatically? #77
Comments
I used the ansible installation.
How should i go about creating the cert for the bb subdomain?
|
Looks like the certbot commands are missing from the section "Install alongside existing Lemmy instance (native)". You can add that to your pull request by copying from the section above. |
@Nutomic would these be the correct commands to add to my pull request? Install nginx config and set correct domains. Note that this config by default doesn't allow direct access to the API nor pictrs. This makes it harder for spam bots, but also means that Lemmy clients cant be used. The nginx config includes instructions for putting lemmy-ui behind HTTP Auth, so that only admins can access it.
Request tls certificates (use your actual domains and email)
replacel lemmybb_domain with your domain by replacing
reload nginx
open your daily cronjob
and add these lines to automatically renew tls certificates
I'm confused by the nginx config part, I don't understand what it means that Lemmy clients cant be used. Does this mean I won't be able to use the Lemmy apps or? |
@Tealk can you take a look at these updated instructions? I tried them but they're not helping (I'm trying to fix the install lemmybb alongside existing lemmy instance instructions) |
think that this is not so easy, but I do not know much about the certbot |
Are there any instructions on deleting lemmybb? I cant get it to work and my instance has been down since i began trying |
lemmybb does not affect the lemmy instance |
If you want to enable the api and allow client usage, you need to uncomment these lines. The instructions you put look good, but maybe it would be clearer to use something like For uninstalling you basically need to stop Lemmy and delete all the files you created previously. |
I'm getting this error mentioning the Lets Encrypt cert for the subdomain ill be using for LemmyBB
{"changed": true, "cmd": "nginx -s reload", "delta": "0:00:00.020479", "end": "2022-12-26 21:55:33.321149", "msg": "non-zero return code", "rc": 1, "start": "2022-12-26 21:55:33.300670", "stderr": "nginx: [emerg] cannot load certificate \"/etc/letsencrypt/live/mybbsubdomain/fullchain.pem\": BIO_new_file() failed (SSL: error:80000002:system library::No such file
The text was updated successfully, but these errors were encountered: