Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uptime Monitor TLS #12

Closed
tnonate opened this issue Mar 27, 2024 · 3 comments
Closed

Uptime Monitor TLS #12

tnonate opened this issue Mar 27, 2024 · 3 comments

Comments

@tnonate
Copy link
Owner

tnonate commented Mar 27, 2024

I'm attempting to add an uptime monitor at "https://uptime.thenewoil.org". Right now I have successfully created the unencrypted "http://162.0.238.97:3001/status/thenewoil." I've used Uptime Kuma to do so, and I'm attempting to use this documentation to create TLS with Caddy. I'm not sure what I'm doing wrong. I've copied that template into the Caddyfile at /etc/caddy/ but I keep getting an error in systemctl that says

{"level":"info","ts":1711571401.2591567,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":""} Error: adapting config using caddyfile: /etc/caddy/Caddyfile:2: unrecognized directive: services: Did you mean to define a second site? If so, you must use curly braces around each site to separate their configurations.

Not sure what I'm doing wrong.

@jonaharagon
Copy link
Contributor

Sounds like you should be using this documentation instead: https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy#caddy

@tnonate
Copy link
Owner Author

tnonate commented Mar 27, 2024

Am I not using Docker-compose already? I lose track, there's like, 5 different versions of Docker.

Should I simply stick that code in my Caddyfile?

@tnonate
Copy link
Owner Author

tnonate commented Mar 27, 2024

Well damn. That did it. Thanks, man. I appreciate all the time you're taking today to help lol

https://uptime.thenewoil.org/status/thenewoil

@tnonate tnonate closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants