Why do CDNs use different domain names rather than subdomains?

Many online services configure CDNs (content delivery networks) to improve performance by allowing content to be served from geographically close locations. I have noticed that very often the CDN is served from a different domain name than the actual service. For example, a visit to www.amazon.com will involve pulling content from media-amazon.com. www.facebook.com uses content…

Missing period in DHCP domain search

On my server running the ISC DHCP daemon, I have the following in /etc/dhcpd.conf: … option domain-name “example.com”; option domain-search “example.com”; … On my clients running the latest version of Network Manager, I’m seeing the following in /etc/resolv.conf: # Generated by NetworkManager search examplecom … This obviously prevents the search from working correctly. This just…

Traefik 2 middleware works for https, not http

I’m trying to setup a route do a basic 301 redirect with the added benefit of supporting both HTTP and HTTPS requests. Expected results would be that requests to http://subdom.domain.org or https://subdom.domain.org would receive a 301 and be forwarded to https://othersub.domain.org/route. Actual results is that https://subdom.domain.org 301’s as expected, but http://subdom.domain.org 404’s. With the config,…

Ingress on GKE/GCE + Nginx: response larger than 1mo result by a blank page and code 200

I’m using Ingress on GKE and GCE (kubernetes.io/ingress.class: gce) with TLS activated. All working good but responses bigger than 1mo results by a blank page and HTTP response code 200. No related logs founds on Stackdriver. Response: HTTP/2.0 200 OK server: nginx/1.17.6 date: Sat, 21 Dec 2019 13:47:30 GMT content-type: text/html; charset=UTF-8 x-powered-by: PHP/7.3.13 content-encoding:…

“failed to open stream: Read-only file system” when trying to create file outside webroot with php

I’m trying to setup nextcloud on a RaspberryPi 3 running arch linux (alarm) for a week now. I’ve setup apache, php with php-fpm, postgresql and installed nextcloud-testing from the AUR (because nextcloud 17 does not support php 7.4). apache’s webroot is at /srv/http but nextcloud installs to /usr/share/webapps/nextcloud. my VirtualHost: <VirtualHost *:443> DocumentRoot “/srv/http” <Directory…