mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-12 18:36:04 -06:00
refactor(caddy): use :80 suffix for HTTP configuration
This commit is contained in:
parent
9af02fab47
commit
3c3601878a
@ -6,7 +6,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
http://<domain> {
|
<domain>:80 {
|
||||||
root * /var/www/pterodactyl/public
|
root * /var/www/pterodactyl/public
|
||||||
|
|
||||||
file_server
|
file_server
|
||||||
|
|||||||
@ -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 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}
|
<<< @/.snippets/webservers/Caddyfile-nossl{2,9}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user