Skip to content

Cannot make it work on Digital Ocean #807

@zmitic

Description

@zmitic

I followed the docs to the letter, and added FRANKENPHP_CONFIG: "" to stop container restarting.

But no matter what, I keep getting this error; formatted for readability, real IP and host shortened:

{
  "level": "error",
  "ts": 1750415594.891554,
  "logger": "http.log.access.log0",
  "msg": "handled request",
  "request": {
    "remote_ip": "89.rest_of_my_ip",
    "remote_port": "54274",
    "client_ip": "89.rest_of_my_ip",
    "proto": "HTTP/2.0",
    "method": "GET",
    "host": "hbstg4.my_domain",
    "uri": "/asdasd",
    "headers": {
      "Upgrade-Insecure-Requests": [
        "1"
      ],
      "Sec-Ch-Ua": [
        "\"Google Chrome\";v=\"137\", \"Chromium\";v=\"137\", \"Not/A)Brand\";v=\"24\""
      ],
      "Sec-Fetch-Mode": [
        "navigate"
      ],
      "Sec-Fetch-User": [
        "?1"
      ],
      "Sec-Fetch-Dest": [
        "document"
      ],
      "Accept-Encoding": [
        "gzip, deflate, br, zstd"
      ],
      "Priority": [
        "u=0, i"
      ],
      "Sec-Ch-Ua-Mobile": [
        "?0"
      ],
      "Sec-Ch-Ua-Platform": [
        "\"Linux\""
      ],
      "Accept": [
        "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
      ],
      "Accept-Language": [
        "en-US,en;q=0.9,sr;q=0.8,hr;q=0.7"
      ],
      "User-Agent": [
        "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
      ],
      "Sec-Fetch-Site": [
        "none"
      ]
    },
    "tls": {
      "resumed": false,
      "version": 772,
      "cipher_suite": 4865,
      "proto": "h2",
      "server_name": "hbstg4.my_domain"
    }
  },
  "bytes_read": 0,
  "user_id": "",
  "duration": 0.000887626,
  "size": 0,
  "status": 500,
  "resp_headers": {
    "Server": [
      "Caddy"
    ],
    "Alt-Svc": [
      "h3=\":443\"; ma=2592000"
    ],
    "Content-Type": [
      "text/html; charset=UTF-8"
    ],
    "Permissions-Policy": [
      "browsing-topics=()"
    ]
  }
}

From what I understand, PHP is not even executed, Caddy stops the request from reaching it. Is it because we are using subdomain?

Any help would be very appreciated, we are on day 2 and still can't make it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions