Skip to content

Commit

Permalink
Merge branch 'pterodactyl:develop' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Wunderharke authored Nov 28, 2022
2 parents 255b439 + a1a5275 commit e4b7138
Show file tree
Hide file tree
Showing 82 changed files with 745 additions and 883 deletions.
30 changes: 30 additions & 0 deletions .github/docker/Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
:8080 {
root * /var/www/pterodactyl/public/
file_server

header {
-Server
-X-Powered-By
Referrer-Policy "same-origin"
X-Frame-Options "deny"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
}

encode gzip zstd

php_fastcgi 127.0.0.1:9000 {
trusted_proxies 172.20.0.0/16
}

@startsWithDot {
path \/\.
not path .well-known
}
rewrite @startsWithDot /index.php{uri}

@phpRewrite {
not file favicon.ico
}
try_files @phpRewrite {path} {path}/ /index.php?{query}
}
76 changes: 0 additions & 76 deletions .github/docker/README.md

This file was deleted.

51 changes: 0 additions & 51 deletions .github/docker/default.conf

This file was deleted.

70 changes: 0 additions & 70 deletions .github/docker/default_ssl.conf

This file was deleted.

81 changes: 0 additions & 81 deletions .github/docker/entrypoint.sh

This file was deleted.

21 changes: 21 additions & 0 deletions .github/docker/php-fpm.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[global]
error_log = /dev/stderr
daemonize = no

[www]
user = nobody
group = nobody

listen = 127.0.0.1:9000

pm = dynamic
pm.start_servers = 4
pm.min_spare_servers = 4
pm.max_spare_servers = 16
pm.max_children = 64
pm.max_requests = 256

clear_env = no
catch_workers_output = yes

decorate_workers_output = no
Loading

0 comments on commit e4b7138

Please sign in to comment.