refactor(caddy): use :80 suffix for HTTP configuration

This commit is contained in:
Vojtech Mares 2023-11-13 12:10:47 +01:00
parent 9af02fab47
commit 3c3601878a
No known key found for this signature in database
GPG Key ID: C6827B976F17240D
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
}
}
http://<domain> {
<domain>:80 {
root * /var/www/pterodactyl/public
file_server

View File

@ -141,7 +141,7 @@ You should paste the contents of the file bellow, replacing `<domain>` with your
The default config path is `/etc/caddy/Caddyfile`.
The only two differences are that we have prefixed the `<domain>` with `http://` (or you can use `:80` suffix behind the `<domain>`) and in the global config at `servers` directive, we have changed the port from `:443` to `:80`.
The only two differences are that we have suffixed the `<domain>` with `:80` and in the global config at `servers` directive, we have changed the port from `:443` to `:80`.
<<< @/.snippets/webservers/Caddyfile-nossl{2,9}