1. The problem I’m having:
Operating system: Antix Linux 5.10 kernel, on a 19 years old laptop. I try to host a publicly aviable file server. Nothing is working. Unreachable from localhost, public ip, local network, domain. Curl -vL tries to request from the domain, it easily resolves the correct public ip of my network, and freezes.
2. Error messages and/or full log output:
Journalctl displays nothing. It is not even found. Antix does not use systemd and i have no clue what sysvinit uses.
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
3. Caddy version:
Caddy version is 2.6.2 32bit. I just installed it, so no reason for updating.
4. How I installed and ran Caddy:
i ran it with the base settings, plus tls in the Caddyfile
a. System environment:
Antix Linux 5.10 kernel i686, Dell Inspiron 1300, SysVinit.
b. Command:
caddy run --config /etc/caddy/Caddyfile
c. Service/unit/compose file:
d. My complete Caddy config:
# The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace ":80" below with your
# domain name.
kekmacska-fajlszerver.work.gd {
# Set this path to your site's directory.
root * /usr/share/caddy
# Enable the static file server.
file_server
#SSL cert
tls /etc/ssl/kekmacska-fajlszerver-work-gd-mzooyc87/kekmacska-fajlszerver.work.gd.cer /etc/ssl/kekmacska-fajlszerver-work-gd-mzooyc8
# Another common task is to set up a reverse proxy:
# reverse_proxy localhost:8080
# Or serve a PHP site through php-fpm:
# php_fastcgi localhost:9000
}
# Refer to the Caddy docs for more information:
# https://caddyserver.com/docs/caddyfile
5. Links to relevant resources:
I got a free subdomain, set it to my public ip and set its dns resolver. I downloaded and set up the ssl certificate and key from let’s encrypt. Set up a dhcp exception to the proper end device by manually assigning the MAC address to let the router figure out the current ip with ARP and pin it down. Both 80 amd 443 port. Yet when i launch caddy, and try to access the website in any way, it gets timeout error