Responsabilidade

  • 1 Post
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle

  • Why are you using that?

        location ~ /\.ht {
            deny all;
        }
    

    You’re denying the access to your root, which is the public/ folder and has the file .htaccess that has

    <IfModule mod_rewrite.c>
        <IfModule mod_negotiation.c>
            Options -MultiViews -Indexes
        </IfModule>
    
        RewriteEngine On
    
        # Handle Authorization Header
        RewriteCond %{HTTP:Authorization} .
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    
        # Redirect Trailing Slashes If Not A Folder...
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} (.+)/$
        RewriteRule ^ %1 [L,R=301]
    
        # Send Requests To Front Controller...
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]
    </IfModule>
    

    This file handles the income requests and send to the front controller.



















  • You don’t actually need a NAS. You can install in an old hardware you have and it will work just fine.

    However things may become short in space quickly, cause video needs a lot of storage. So if you want to host many video files, I would recommend at least high capacity HDs. A NAS would be the perfect setting, but not always we can do perfect settings.

    What I suggest however, is to be sure that your network settings (router, mainly) support streaming, cause if your router sucks, you’ll not only become frustrated soon with the streaming, but all your connection with internet in general may become degraded.

    Also, you can start small, with a small server with internet HD, and then adjust and implement NAS in the future. It’s an easy task.

    You may wanna take a look at Jellyfin as well