BaalInvoker

joined 1 year ago
[–] [email protected] -1 points 1 week ago (1 children)

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.

[–] [email protected] 1 points 1 week ago (6 children)

I'm not sure, but looks like you're denying all .htaccess files. Laravel depends on .htaccess to make things work properly

Take a look on Laravel docs - Deployment to make sure your configs are right

[–] [email protected] 8 points 2 weeks ago (1 children)

I like Tesseract the most! It's exactly a balance between Alexandrite and Photon

[–] [email protected] 2 points 2 weeks ago

Well, but why do I need to worry about that?

[–] [email protected] 2 points 2 weeks ago (2 children)

Don't think so... She was kind

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

No. Regular dark hair

[–] [email protected] 10 points 2 weeks ago

No weeds. It's only inflamation, that also inhibit the effect of anesthesia

[–] [email protected] 17 points 2 weeks ago (2 children)

Oh, man... It was... Don't try a root canal without anesthesia...

I guess that happened because my tooth had an inflammation that prevented the anesthesia to take effect

[–] [email protected] 28 points 2 weeks ago

Yeah... It was painful as shit. But once she reached my root and applied anesthesia directly to the root, my pain was gone. But yes, it was f painful and traumatic

[–] [email protected] 63 points 2 weeks ago (26 children)

Last year I had to do a root canal. The anesthesia did not took effect in my tooth and the dentist said that she could not apply more anesthesia cause I already had took an amount equivalent to 5 persons. It was agonizing.

7
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Summary

I have a old laptop that's serving me as a Technitium DNS server and Tailscale exit node.

My setup is behind a CGNAT, but the Tailscale make its way around and that's not an issue. My VPN exit node works flawlessly.

However I also set my router to make my laptop as DNS server, so all my lan network is passing through the Technitium. So, in theory all my local network is using my selfhosted DNS server.

Issue

The issue here is not the server itself, cause it's working as intended - when I can connect to it.

What's going on is that my server for once in a while become unreachable from lan. If I try to ping it from another device in local network, it returns that it's unreachable, but my server still connected to the internet (I can ping Google, for example). So to solve it, I must do one of the below:

  • Kick the server from the router, forcing it to reconnect
  • Connect to the Tailscale VPN and ping it from the Tailscale ip
  • Reboot my server

It anoys me because it's not supposed to the server become unreachable in local randomly!

It's important to comment that the server isn't connected through ethernet, but it uses wifi because I can't put my laptop near the router. The laptop is close enough to not have any wifi interference, however.

What can I do to prevent my server to become unreachable?

My setup

Server

  • An old Acer laptop connected to the wifi
  • Static IP configured
  • SO: Arch Linux (as server, no GUI at all)

Router

D-Link DIR-842


Thank you in advance

view more: next ›