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

Edits to the documentation #553

Merged
merged 37 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
82ee8d5
Use packages instead of the installer as not supported
PadowYT2 Sep 2, 2023
d5b51d8
Change the branch as the develop branch doesn't have the file
PadowYT2 Sep 3, 2023
3166800
Use "1.0-develop" branch instead of a release version
PadowYT2 Sep 4, 2023
28ab8d3
Add sudo to apt commands
PadowYT2 Sep 27, 2023
995e1a0
Merge branch 'pterodactyl:master' into master
PadowYT2 Oct 17, 2023
c6b8647
Update sponsors
PadowYT2 Oct 17, 2023
7d885a0
Avoid having to update the license each year
PadowYT2 Oct 17, 2023
fb785bb
Actually use a note
PadowYT2 Oct 17, 2023
04af6c4
Remove useless commas
PadowYT2 Oct 17, 2023
f8e5cf2
Remove empty white lines in non SSL configs
PadowYT2 Oct 17, 2023
830d6fc
Remove useless comment as it exists on the Documentation
PadowYT2 Oct 17, 2023
12be1f7
Use 4 spaces instead of 2 for apache configs
PadowYT2 Oct 17, 2023
328aed4
Modify the links in the banner
PadowYT2 Oct 17, 2023
34c5e10
Update getting_started.md
PadowYT2 Oct 22, 2023
b4f0d9d
Merge branch 'master' into master
danny6167 Jul 1, 2024
e2846f1
Add robots noindex tag to all panel 0.7 and daemon 0.6 pages
danny6167 Jul 7, 2024
96fd0dc
Add missing change for noindex
danny6167 Jul 7, 2024
73917cf
Revert "Use packages instead of scripts for installing NodeJS (#542)"
danny6167 Jul 7, 2024
e9744ec
Update PHP versions
danny6167 Jul 7, 2024
91ec18d
Update panels supported OS versions
danny6167 Jul 7, 2024
d9c77aa
Fix some PHP version formatting issues
danny6167 Jul 7, 2024
c304ab6
Revert "Remove useless comment as it exists on the Documentation"
danny6167 Jul 7, 2024
295a7dd
Update to PHP 8.3
danny6167 Jul 7, 2024
9770255
Update some wordings
danny6167 Jul 7, 2024
3b584ac
Specify the php version when installing the apache php module
danny6167 Jul 7, 2024
5069e66
Add some missing comments and correct highlighting in conf blocks
danny6167 Jul 8, 2024
77f91ca
Update wings OS Support table
danny6167 Jul 8, 2024
804fce4
Don't show warning about running composer as root
danny6167 Jul 8, 2024
7bf4332
Remove list and just link to the docker-ce install page
danny6167 Jul 8, 2024
6eaf9c9
Update support table on wings upgrade page
danny6167 Jul 8, 2024
3692541
Update panel upgrade version support and PHP versions
danny6167 Jul 8, 2024
30cbd95
Update php upgrade guide
danny6167 Jul 8, 2024
2cb2ae6
Add sudo to nodejs installation
PadowYT2 Jul 13, 2024
3850dad
Add CentOS forks (i think) to nodejs installation
PadowYT2 Jul 13, 2024
9e3333d
Update tables to match the spacing
PadowYT2 Jul 13, 2024
99667c5
Add sudo to systemctl enable --now wings
LouissXI Oct 14, 2023
4321a62
Format tables
PadowYT2 Aug 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .snippets/webservers/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
}
}

# Replace the example <domain> with your domain name or IP address
<domain> {
root * /var/www/pterodactyl/public

file_server

php_fastcgi unix//run/php/php8.1-fpm.sock {
php_fastcgi unix//run/php/php8.3-fpm.sock {
root /var/www/pterodactyl/public
index index.php

Expand Down
3 changes: 2 additions & 1 deletion .snippets/webservers/Caddyfile-nossl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
}
}

# Replace the example <domain> with your domain name or IP address
<domain>:80 {
root * /var/www/pterodactyl/public

file_server

php_fastcgi unix//run/php/php8.1-fpm.sock {
php_fastcgi unix//run/php/php8.3-fpm.sock {
root /var/www/pterodactyl/public
index index.php

Expand Down
25 changes: 13 additions & 12 deletions .snippets/webservers/apache-nossl.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<VirtualHost *:80>
ServerName <domain>
DocumentRoot "/var/www/pterodactyl/public"

AllowEncodedSlashes On

php_value upload_max_filesize 100M
php_value post_max_size 100M

<Directory "/var/www/pterodactyl/public">
AllowOverride all
Require all granted
</Directory>
# Replace the example <domain> with your domain name or IP address
ServerName <domain>
DocumentRoot "/var/www/pterodactyl/public"

AllowEncodedSlashes On

php_value upload_max_filesize 100M
php_value post_max_size 100M

<Directory "/var/www/pterodactyl/public">
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
38 changes: 20 additions & 18 deletions .snippets/webservers/apache.conf
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
<VirtualHost *:80>
ServerName <domain>

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
# Replace the example <domain> with your domain name or IP address
ServerName <domain>

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</VirtualHost>

<VirtualHost *:443>
ServerName <domain>
DocumentRoot "/var/www/pterodactyl/public"
# Replace the example <domain> with your domain name or IP address
ServerName <domain>
DocumentRoot "/var/www/pterodactyl/public"

AllowEncodedSlashes On

AllowEncodedSlashes On

php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value upload_max_filesize 100M
php_value post_max_size 100M

<Directory "/var/www/pterodactyl/public">
Require all granted
AllowOverride all
</Directory>
<Directory "/var/www/pterodactyl/public">
Require all granted
AllowOverride all
</Directory>

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/<domain>/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/<domain>/privkey.pem
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/<domain>/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/<domain>/privkey.pem
</VirtualHost>
1 change: 0 additions & 1 deletion .snippets/webservers/nginx-php8.1-nossl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ server {
listen 80;
server_name <domain>;


root /var/www/pterodactyl/public;
index index.html index.htm index.php;
charset utf-8;
Expand Down
45 changes: 45 additions & 0 deletions .snippets/webservers/nginx-php8.3-nossl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
server {
# Replace the example <domain> with your domain name or IP address
listen 80;
server_name <domain>;

root /var/www/pterodactyl/public;
index index.html index.htm index.php;
charset utf-8;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }

access_log off;
error_log /var/log/nginx/pterodactyl.app-error.log error;

# allow larger file uploads and longer script runtimes
client_max_body_size 100m;
client_body_timeout 120s;

sendfile off;

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY "";
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
}

location ~ /\.ht {
deny all;
}
}
66 changes: 66 additions & 0 deletions .snippets/webservers/nginx-php8.3.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
server {
# Replace the example <domain> with your domain name or IP address
listen 80;
server_name <domain>;
return 301 https://$server_name$request_uri;
}

server {
# Replace the example <domain> with your domain name or IP address
listen 443 ssl http2;
server_name <domain>;

root /var/www/pterodactyl/public;
index index.php;

access_log /var/log/nginx/pterodactyl.app-access.log;
error_log /var/log/nginx/pterodactyl.app-error.log error;

# allow larger file uploads and longer script runtimes
client_max_body_size 100m;
client_body_timeout 120s;

sendfile off;

# SSL Configuration - Replace the example <domain> with your domain
ssl_certificate /etc/letsencrypt/live/<domain>/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/<domain>/privkey.pem;
ssl_session_cache shared:SSL:10m;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384";
ssl_prefer_server_ciphers on;

# See https://hstspreload.org/ before uncommenting the line below.
# add_header Strict-Transport-Security "max-age=15768000; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header Content-Security-Policy "frame-ancestors 'self'";
add_header X-Frame-Options DENY;
add_header Referrer-Policy same-origin;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY "";
fastcgi_intercept_errors off;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
include /etc/nginx/fastcgi_params;
}

location ~ /\.ht {
deny all;
}
}
2 changes: 1 addition & 1 deletion .vuepress/theme/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
</a>
</div>
</div>
<div class="footer">MIT Licensed | Pterodactyl&reg; Copyright &copy; 2015 - 2022 Dane Everitt & contributors.</div>
<div class="footer">MIT Licensed | Pterodactyl&reg; Copyright &copy; Dane Everitt and contributors</div>
PadowYT2 marked this conversation as resolved.
Show resolved Hide resolved
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Pterodactyl
Copyright © Pterodactyl

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ features:
details: Built on a modern stack utilizing the best design practices that make it easy to jump in and make modifications.
- title: Docker to the Core
details: All servers run in isolated Docker containers that limit attack vectors, provide strict resource limits, and provide environments tailored to each specific game.
footer: MIT Licensed | Copyright © 2015 - 2018 Dane Everitt & Contributors
footer: MIT Licensed | Copyright © Dane Everitt and contributors
---
11 changes: 4 additions & 7 deletions community/customization/panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ The build tools require NodeJS, yarn is used as the package manager.

```bash
# Ubuntu/Debian
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

sudo apt update
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install -y nodejs

# CentOS
sudo yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
sudo yum install nodejs -y
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
sudo yum install -y nodejs yarn # CentOS 7
sudo dnf install -y nodejs yarn # CentOS 8, Rocky Linux 8, AlmaLinux 8
```

Install required javascript packages.
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/configuration.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Additional Configuration

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/debian_8_docker.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Docker on Debian 8

[[toc]]
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/installing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Installation

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/kernel_modifications.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Kernel Modifications

[[toc]]
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/standalone_sftp.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Standalone SFTP Server

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/upgrade/0.4_to_0.5.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Upgrading 0.4.X to 0.5.X

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/upgrade/0.5.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Upgrading 0.5 Series

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/upgrade/0.5_to_0.6.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Upgrading 0.5.X to 0.6.X

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/upgrade/0.6.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Upgrading 0.6 Series

::: danger This Software is Abandoned
Expand Down
5 changes: 5 additions & 0 deletions daemon/0.6/upgrading.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
meta:
- name: robots
content: noindex
---
# Upgrading

::: danger This Software is Abandoned
Expand Down
Loading
Loading