• 1 Post
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle


  • A reverse proxy is basically a landing place that acts as a middle man between the client and the server. Most people set it up so that all traffic on 80 or 443 go to the reverse proxy, and then the reverse proxy gets the correct website based on the host header of the request.

    If you are currently serving multiple websites on your server, then that means you are serving each website on a different port.

    So, just make sure that the reverse proxy is serving on a port that is not used by your other sites. It will only respond on it’s own port, and it will only serve the site(s) that you have configured in the proxy.

    You’ll be fine!


  • I hear you… it’s definitely not about one tasting better than others, but maybe more about the eating experience. I do think there’s a legitimate argument about how different pasta shapes encourage different pasta to sauce ratios, but at the end of the day it’s just the two elements coming together and the taste is what it is. We should all enjoy it the way we want to! I just wanted to explain why some people talk about certain sauces and certain pasta shapes “belonging” together.


  • It has everything to do with the consistency of the sauce and how well it sticks to the pasta. For example, spaghetti with a meat sauce isn’t a great choice because the meat won’t actually stick to the pasta and you’ll have to scoop up that meat “manually.” Better is pappardelle, which has a huge surface area that causes the meat to stick to the pasta.







  • because it’s much, much faster and easier to consume content via video

    That totally depends on the content. Using your example, yes, a video of an explosion is going be much more efficient than a block of text about the same explosion. But for something like this, I find it MUCH slower to try to glean the relevant information from a video than from an article. An article can be skimmed easily so I only have to focus on the parts that I care about. Skimming a video, on the other hand, is a pain. Also, if the content is a step-by-step how-to, the video might be OK as long as I can follow along in real time. However, if I have to keep pausing and going back to rewatch a section, then an article is going to be easier to work with.








  • tko@tkohhh.socialtoSelfhosted@lemmy.worldPHP and security
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    If I’m being honest, I’ve never even looked to see what language most of the stuff I run is written in. Out of 16 apps that I’m running, only 3 are accessible from outside my LAN. Those three are high-profile open source projects that are actively maintained. That’s enough for me to be comfortable security-wise in my environment.


  • tko@tkohhh.socialtoSelfhosted@lemmy.worldPHP and security
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago

    I wrote my personal website in PHP, and I’m pretty happy with the security I’ve got going on. I’m not an expert, but I paid close attention to best practices to avoid pitfalls like SQL injection. My instinct is that it’s certainly easy to code insecure applications in PHP (and probably many other languages as well), but the language does provide means by which to code safely.