-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pterodactyl:master' into master
- Loading branch information
Showing
41 changed files
with
428 additions
and
507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
servers :443 { | ||
timeouts { | ||
read_body 120s | ||
} | ||
} | ||
} | ||
|
||
<domain> { | ||
root * /var/www/pterodactyl/public | ||
|
||
file_server | ||
|
||
php_fastcgi unix//run/php/php8.1-fpm.sock { | ||
root /var/www/pterodactyl/public | ||
index index.php | ||
|
||
env PHP_VALUE "upload_max_filesize = 100M | ||
post_max_size = 100M" | ||
env HTTP_PROXY "" | ||
env HTTPS "on" | ||
|
||
read_timeout 300s | ||
dial_timeout 300s | ||
write_timeout 300s | ||
} | ||
|
||
header Strict-Transport-Security "max-age=16768000; preload;" | ||
header X-Content-Type-Options "nosniff" | ||
header X-XSS-Protection "1; mode=block;" | ||
header X-Robots-Tag "none" | ||
header Content-Security-Policy "frame-ancestors 'self'" | ||
header X-Frame-Options "DENY" | ||
header Referrer-Policy "same-origin" | ||
|
||
request_body { | ||
max_size 100m | ||
} | ||
|
||
respond /.ht* 403 | ||
|
||
log { | ||
output file /var/log/caddy/pterodactyl.log { | ||
roll_size 100MiB | ||
roll_keep_for 7d | ||
} | ||
level INFO | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
servers :80 { | ||
timeouts { | ||
read_body 120s | ||
} | ||
} | ||
} | ||
|
||
<domain>:80 { | ||
root * /var/www/pterodactyl/public | ||
|
||
file_server | ||
|
||
php_fastcgi unix//run/php/php8.1-fpm.sock { | ||
root /var/www/pterodactyl/public | ||
index index.php | ||
|
||
env PHP_VALUE "upload_max_filesize = 100M | ||
post_max_size = 100M" | ||
env HTTP_PROXY "" | ||
# env HTTPS "on" # IMPORTANT: this is commented out, to disable HTTPS | ||
|
||
read_timeout 300s | ||
dial_timeout 300s | ||
write_timeout 300s | ||
} | ||
|
||
header Strict-Transport-Security "max-age=16768000; preload;" | ||
header X-Content-Type-Options "nosniff" | ||
header X-XSS-Protection "1; mode=block;" | ||
header X-Robots-Tag "none" | ||
header Content-Security-Policy "frame-ancestors 'self'" | ||
header X-Frame-Options "DENY" | ||
header Referrer-Policy "same-origin" | ||
|
||
request_body { | ||
max_size 100m | ||
} | ||
|
||
respond /.ht* 403 | ||
|
||
log { | ||
output file /var/log/caddy/pterodactyl.log { | ||
roll_size 100MiB | ||
roll_keep_for 7d | ||
} | ||
level INFO | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.