Closed kenjibailly closed 2 years ago
Fixed this issue by enabling HTTPS using the documentation in Step 12 https://www.linuxbabe.com/ubuntu/install-socioboard-on-ubuntu-20-04
Changing my nginx reverse proxy to upsream_port 443 and proto to https
I recreated the container and can't seem to enable HTTPS anymore. I get this error when trying to certbot apache:
http-01 challenge for socioboard.mindglowing.art
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: socioboard.mindglowing.art
Type: unauthorized
Detail: Invalid response from
https://socioboard.mindglowing.art/.well-known/acme-challenge/0dxG86m8klu3h_PwrwI1siRiyTiYnRf_BgEG2De299Y
[***.***.**.***]: 404
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
I tried a bunch of things, but I keep running into the same error. Not sure how to fix this.
Not sure what the issue was. Couldn't get it back to work with certbot. I was able to however manually add an apache cert and enable https, which solved the issue again.
Add
ASSET_URL=https://socioboard.mindglowing.art/
CSS files and what not aren't loading, because they are pulled from http instead of https.
I thought the APP_URL in the .env file in web should make sure this is https aka:
Checked, everything seems to be filled in correctly afaik, new to socioboard.
Any idea how I can fix this? I tried contacting ppl from swag (my reverse proxy) aka nginx reverse proxying, but they told me it's a problem within socioboard where I need to tell it to use https instead of http. No idea where I could make sure it does this though.
Any idea's?
My nginx reverse proxy: