Good point, the controller is displaying the error page, so that piece should be fine. I was thrown off that the debug log was reporting 1.3.
These were just debugging attempts. I originally started with a config very similar the simple one you suggested. I tried yours, only adding this:
since I don’t want it to attempt ACME (which will fail in my setup since it’s not intended to be publicly accessible)
Here’s the truncated log (hit the max lines for a post). Hope I’m positing this in the right format:
Full debug log
Jun 09 20: 34: 45 unifi systemd[
1
]: Started Caddy.
Jun 09 20: 34: 45 unifi caddy[
2235
]: caddy.HomeDir=/var/lib/caddy
Jun 09 20: 34: 45 unifi caddy[
2235
]: caddy.AppDataDir=/var/lib/caddy/.local/share/caddy
Jun 09 20: 34: 45 unifi caddy[
2235
]: caddy.AppConfigDir=/var/lib/caddy/.config/caddy
Jun 09 20: 34: 45 unifi caddy[
2235
]: caddy.ConfigAutosavePath=/var/lib/caddy/.config/caddy/autosave.json
Jun 09 20: 34: 45 unifi caddy[
2235
]: runtime.GOOS=linux
Jun 09 20: 34: 45 unifi caddy[
2235
]: runtime.GOARCH=arm
Jun 09 20: 34: 45 unifi caddy[
2235
]: runtime.Compiler=gc
Jun 09 20: 34: 45 unifi caddy[
2235
]: runtime.NumCPU=4
Jun 09 20: 34: 45 unifi caddy[
2235
]: runtime.GOMAXPROCS=4
Jun 09 20: 34: 45 unifi caddy[
2235
]: runtime.Version=go1.14.3
Jun 09 20: 34: 45 unifi caddy[
2235
]: os.Getwd=/
Jun 09 20: 34: 45 unifi caddy[
2235
]: LANG=en_GB.UTF-8
Jun 09 20: 34: 45 unifi caddy[
2235
]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Jun 09 20: 34: 45 unifi caddy[
2235
]: HOME=/var/lib/caddy
Jun 09 20: 34: 45 unifi caddy[
2235
]: LOGNAME=caddy
Jun 09 20: 34: 45 unifi caddy[
2235
]: USER=caddy
Jun 09 20: 34: 45 unifi caddy[
2235
]: INVOCATION_ID=824bcd75c53c4b15b44fea118f4d808a
Jun 09 20: 34: 45 unifi caddy[
2235
]: JOURNAL_STREAM=8: 372336
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.8054156,
"msg": "using provided configuration",
"config_file": "/opt/caddy/Caddyfile",
"config_adapter": ""
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.8147528,
"logger": "admin",
"msg": "admin endpoint started",
"address": "tcp/localhost:2019",
"enforce_origin": false,
"origins": [
"localhost:2019",
"[::1]:2019",
"127.0.0.1:2019"
]
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: 2020/06/09 20: 34: 45 [INFO
][cache: 0x3f6a380
] Started certificate maintenance routine
Jun 09 20: 34: 45 unifi caddy[
2235
]: 2020/06/09 20: 34: 45 [WARNING
] Stapling OCSP: no OCSP stapling for [unifi
]: no OCSP server specified in certificate
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.818305,
"logger": "hxxp",
"msg": "skipping automatic certificate management because one or more matching certificates are already loaded",
"domain": "unifi",
"server_name": "srv0"
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.8183544,
"logger": "hxxp",
"msg": "enabling automatic hxxp->hxxpS redirects",
"server_name": "srv0"
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.8195863,
"logger": "tls",
"msg": "cleaned up storage units"
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749285.8198726,
"logger": "hxxp",
"msg": "starting server loop",
"address": "[::]:443",
"hxxp3": false,
"tls": true
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749285.8199682,
"logger": "hxxp",
"msg": "starting server loop",
"address": "[::]:80",
"hxxp3": false,
"tls": false
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.8203464,
"msg": "autosaved config",
"file": "/var/lib/caddy/.config/caddy/autosave.json"
}
Jun 09 20: 34: 45 unifi caddy[
2235
]: {
"level": "info",
"ts": 1591749285.820376,
"msg": "serving initial configuration"
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.0635881,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/fatal",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Accept": [
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Sec-Fetch-Mode": [
"navigate"
],
"Sec-Fetch-User": [
"?1"
],
"Sec-Fetch-Dest": [
"document"
],
"Pragma": [
"no-cache"
],
"Cache-Control": [
"no-cache"
],
"Upgrade-Insecure-Requests": [
"1"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en-US,en;q=0.9"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"Location": [
"/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Content-Length": [
"0"
]
},
"duration": 0.151075009,
"status": 302
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.0817688,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/account/login?redirect=%2Fmanage%2Ffatal",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Accept": [
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Upgrade-Insecure-Requests": [
"1"
],
"Cache-Control": [
"no-cache"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"navigate"
],
"Sec-Fetch-User": [
"?1"
],
"Sec-Fetch-Dest": [
"document"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"Pragma": [
"no-cache"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"X-Frame-Options": [
"SAMEORIGIN"
],
"Content-Encoding": [
"br"
],
"Cache-Control": [
"max-age=0"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"Content-Length": [
"319"
],
"Vary": [
"accept-encoding"
],
"Accept-Ranges": [
"bytes"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:54 GMT"
],
"Expires": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"Content-Type": [
"text/html"
]
},
"duration": 0.00685334,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.2941158,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/js/index.js",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Pragma": [
"no-cache"
],
"Accept": [
"*/*"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Cache-Control": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Sec-Fetch-Dest": [
"script"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"X-Forwarded-For": [
"10.0.0.5"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Content-Encoding": [
"br"
],
"Cache-Control": [
"max-age=86400"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Vary": [
"accept-encoding"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"Content-Type": [
"application/javascript"
],
"Content-Length": [
"4688"
],
"Accept-Ranges": [
"bytes"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:45 GMT"
]
},
"duration": 0.006732806,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.3719294,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/fonts/ubnt-icon/style.css",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Sec-Fetch-Mode": [
"no-cors"
],
"Sec-Fetch-Dest": [
"style"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"Cache-Control": [
"no-cache"
],
"Accept": [
"text/css,*/*;q=0.1"
],
"Sec-Fetch-Site": [
"same-origin"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"Pragma": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"X-Forwarded-Proto": [
"hxxps"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Vary": [
"accept-encoding"
],
"Cache-Control": [
"max-age=86400"
],
"Content-Length": [
"5181"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Accept-Ranges": [
"bytes"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:27 GMT"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"Content-Type": [
"text/css"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"Content-Encoding": [
"br"
]
},
"duration": 0.008517116,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.38364,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/css/styles.bundle.css",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"Cache-Control": [
"no-cache"
],
"Accept": [
"text/css,*/*;q=0.1"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Sec-Fetch-Dest": [
"style"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Pragma": [
"no-cache"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Last-Modified": [
"Fri, 22 May 2020 11:14:23 GMT"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"Content-Length": [
"24549"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Content-Encoding": [
"br"
],
"Accept-Ranges": [
"bytes"
],
"Cache-Control": [
"max-age=86400"
],
"Content-Type": [
"text/css"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"Vary": [
"accept-encoding"
]
},
"duration": 0.016833311,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.395961,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/css/app.css",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"X-Forwarded-Proto": [
"hxxps"
],
"Pragma": [
"no-cache"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Sec-Fetch-Dest": [
"style"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"Cache-Control": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Accept": [
"text/css,*/*;q=0.1"
],
"X-Forwarded-For": [
"10.0.0.5"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Vary": [
"accept-encoding"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:22 GMT"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"Content-Type": [
"text/css"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Content-Encoding": [
"br"
],
"Accept-Ranges": [
"bytes"
],
"Cache-Control": [
"max-age=86400"
],
"Content-Length": [
"104401"
]
},
"duration": 0.026280719,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.433334,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/js/initial.js",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Cache-Control": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Sec-Fetch-Dest": [
"script"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Pragma": [
"no-cache"
],
"Accept": [
"*/*"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"X-Forwarded-Proto": [
"hxxps"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Vary": [
"accept-encoding"
],
"Accept-Ranges": [
"bytes"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"Content-Length": [
"92105"
],
"Content-Encoding": [
"br"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:45 GMT"
],
"Cache-Control": [
"max-age=86400"
],
"Content-Type": [
"application/javascript"
]
},
"duration": 0.036196191,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.4687343,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/js/components.js",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Pragma": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Sec-Fetch-Dest": [
"script"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"Cache-Control": [
"no-cache"
],
"Accept": [
"*/*"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Vary": [
"accept-encoding"
],
"Accept-Ranges": [
"bytes"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:41 GMT"
],
"Content-Type": [
"application/javascript"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Content-Encoding": [
"br"
],
"Cache-Control": [
"max-age=86400"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"Content-Length": [
"334338"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
]
},
"duration": 0.012445005,
"status": 200
}
Jun 09 20: 38: 14 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749494.5119152,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/fonts/aura/fonts.css",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Accept": [
"text/css,*/*;q=0.1"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Dest": [
"style"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"Pragma": [
"no-cache"
],
"Cache-Control": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Cache-Control": [
"max-age=86400"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:14 GMT"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:23 GMT"
],
"Accept-Ranges": [
"bytes"
],
"Content-Type": [
"text/css"
],
"Content-Length": [
"273"
],
"Date": [
"Wed, 10 Jun 2020 00:38:14 GMT"
],
"Vary": [
"accept-encoding"
],
"Content-Encoding": [
"br"
]
},
"duration": 0.009673867,
"status": 200
}
Jun 09 20: 38: 16 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749496.3002424,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/js/base.js",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Accept-Encoding": [
"gzip, deflate, br"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Cache-Control": [
"no-cache"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Sec-Fetch-Dest": [
"script"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Pragma": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Accept": [
"*/*"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"X-Forwarded-For": [
"10.0.0.5"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Date": [
"Wed, 10 Jun 2020 00:38:15 GMT"
],
"Content-Encoding": [
"br"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:40 GMT"
],
"Cache-Control": [
"max-age=86400"
],
"Content-Length": [
"241236"
],
"Content-Type": [
"application/javascript"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Vary": [
"accept-encoding"
],
"Accept-Ranges": [
"bytes"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:16 GMT"
]
},
"duration": 0.01158571,
"status": 200
}
Jun 09 20: 38: 16 unifi caddy[
2235
]: {
"level": "debug",
"ts": 1591749496.383039,
"logger": "hxxp.handlers.reverse_proxy",
"msg": "upstream roundtrip",
"upstream": "127.0.0.1:8443",
"request": {
"method": "GET",
"uri": "/manage/angular/g7989b19/js/app.js",
"proto": "hxxp/2.0",
"remote_addr": "10.0.0.5:36338",
"host": "unifi",
"headers": {
"Accept": [
"*/*"
],
"Sec-Fetch-Site": [
"same-origin"
],
"Sec-Fetch-Mode": [
"no-cors"
],
"Referer": [
"hxxps://unifi/manage/account/login?redirect=%2Fmanage%2Ffatal"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"X-Forwarded-Proto": [
"hxxps"
],
"Cache-Control": [
"no-cache"
],
"User-Agent": [
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
],
"Accept-Language": [
"en-US,en;q=0.9"
],
"X-Forwarded-For": [
"10.0.0.5"
],
"Pragma": [
"no-cache"
],
"Sec-Fetch-Dest": [
"script"
]
},
"tls": {
"resumed": false,
"version": 772,
"ciphersuite": 4867,
"proto": "h2",
"proto_mutual": true,
"server_name": "unifi"
}
},
"headers": {
"Content-Encoding": [
"br"
],
"Content-Type": [
"application/javascript"
],
"Content-Length": [
"498103"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Vary": [
"accept-encoding"
],
"Accept-Ranges": [
"bytes"
],
"Last-Modified": [
"Fri, 22 May 2020 11:14:37 GMT"
],
"Cache-Control": [
"max-age=86400"
],
"Expires": [
"Thu, 11 Jun 2020 00:38:16 GMT"
],
"Date": [
"Wed, 10 Jun 2020 00:38:15 GMT"
]
},
"duration": 0.009377133,
"status": 200
}