question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run CSS on secure HTTPS?

See original GitHub issue

Question

Hi!! As part of https://github.com/CommunitySolidServer/CommunitySolidServer/discussions/1516 I am now trying to implement HTTPS for my newly created and deployed http://pod.danielbakas.com CSS.

I didn’t find any documentation for CSS to run securely and none of the following commands do the trick:

  • sudo community-solid-server -b http://pod.danielbakas.com -c @css:config/file.json -p 80
  • sudo community-solid-server -b http://pod.danielbakas.com -c @css:config/file.json -p 443
  • sudo community-solid-server -b https://pod.danielbakas.com -c @css:config/file.json -p 80
  • sudo community-solid-server -b https://pod.danielbakas.com -c @css:config/file.json -p 443

Any ideas? 🤓

Thank you so much! 🪷

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
joachimvhcommented, Dec 8, 2022

And is there currently a way to redirect http requests to the https resources, maybe with a CSS flag?

No, CSS doesn’t do that. You would need to set up nginx for that.

Closing this issue as it seems the problem has been solved.

0reactions
danielbakascommented, Dec 6, 2022

And is there currently a way to redirect http requests to the https resources, maybe with a CSS flag?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems loading style sheets over https - Stack Overflow
If the stylesheet is served from your server, then omit protocol+host part of the URL, i.e. instead of http://example.com/style.css use /style.
Read more >
Switching Your Site to HTTPS on a Shoestring Budget
Sites hosted on GitHub Pages have a simple setting to enable HTTPS. Navigate to the project's Settings and flip the switch to enforce...
Read more >
Enabling HTTPS on your servers - web.dev
Steps covered in this article #. Create a 2048-bit RSA public/private key pair. Generate a certificate signing request (CSR) that embeds ...
Read more >
How To Solve HTTP Page Links To HTTPS CSS - Sitechecker
Implementing HTTPS or Hypertext Transfer Protocol Secure is one way to ensure the security of your website. This online communication protocol ...
Read more >
How to Secure your Website with HTTPS ? - GeeksforGeeks
It's a more affordable option than SSL and it's more accessible than other encryption methods. The best thing about HTTPS is that it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found