Upload 10 files
Browse filesFiles changed (10)
- configs/phpmyadmin-ssl.confAdded+61
- configs/phpmyadmin.confAdded+47
- configs/pterodactyl-apache-ssl.confAdded+26
- configs/pterodactyl-apache.confAdded+14
- configs/pterodactyl-nginx-ssl.confAdded+66
- configs/pterodactyl-nginx.confAdded+44
- configs/pteroq-centos.serviceAdded+20
- configs/pteroq.serviceAdded+20
- configs/wings.serviceAdded+19
- configs/www-pterodactyl.confAdded+14
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061server { listen 80; server_name <domain>; return 301 https://$server_name$request_uri;}
server { listen 443 ssl http2; server_name <domain>;
root /var/www/phpmyadmin; index index.php;
# allow larger file uploads and longer script runtimes client_max_body_size 100m; client_body_timeout 120s;
sendfile off;
# SSL Configuration 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-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256'; 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.1-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; }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647server { listen 80; server_name <domain>;
root /var/www/phpmyadmin; index index.php;
# allow larger file uploads and longer script runtimes client_max_body_size 100m; client_body_timeout 120s;
sendfile off;
# 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.1-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; }}1234567891011121314151617181920212223242526<VirtualHost *:80> ServerName <domain> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] </VirtualHost>
<VirtualHost *:443> 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"> Require all granted AllowOverride all </Directory>
SSLEngine on SSLCertificateFile /etc/letsencrypt/live/<domain>/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/<domain>/privkey.pem</VirtualHost> 1234567891011121314<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></VirtualHost>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566server_tokens off;
server { listen 80; server_name <domain>; return 301 https://$server_name$request_uri;}
server { 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 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.1-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; }}1234567891011121314151617181920212223242526272829303132333435363738394041424344server { 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.1-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; }}1234567891011121314151617181920# Pterodactyl Queue Worker File# ----------------------------------
[Unit]Description=Pterodactyl Queue WorkerAfter=redis.service
[Service]# On some systems the user and group might be different.# Some systems use `apache` or `nginx` as the user and group.User=nginxGroup=nginxRestart=alwaysExecStart=/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3StartLimitInterval=180StartLimitBurst=30RestartSec=5s
[Install]WantedBy=multi-user.target1234567891011121314151617181920# Pterodactyl Queue Worker File# ----------------------------------
[Unit]Description=Pterodactyl Queue WorkerAfter=redis-server.service
[Service]# On some systems the user and group might be different.# Some systems use `apache` or `nginx` as the user and group.User=www-dataGroup=www-dataRestart=alwaysExecStart=/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3StartLimitInterval=180StartLimitBurst=30RestartSec=5s
[Install]WantedBy=multi-user.target12345678910111213141516171819[Unit]Description=Pterodactyl Wings DaemonAfter=docker.serviceRequires=docker.servicePartOf=docker.service
[Service]User=rootWorkingDirectory=/etc/pterodactylLimitNOFILE=4096PIDFile=/var/run/wings/daemon.pidExecStart=/usr/local/bin/wingsRestart=on-failureStartLimitInterval=180StartLimitBurst=30RestartSec=5s
[Install]WantedBy=multi-user.target1234567891011121314[pterodactyl]
user = nginxgroup = nginx
listen = /var/run/php-fpm/pterodactyl.socklisten.owner = nginxlisten.group = nginxlisten.mode = 0750
pm = ondemandpm.max_children = 9pm.process_idle_timeout = 10spm.max_requests = 200configs/phpmyadmin-ssl.confAdded+61
configs/phpmyadmin.confAdded+47
configs/pterodactyl-apache-ssl.confAdded+26
configs/pterodactyl-apache.confAdded+14
configs/pterodactyl-nginx-ssl.confAdded+66
configs/pterodactyl-nginx.confAdded+44
configs/pteroq-centos.serviceAdded+20
configs/pteroq.serviceAdded+20
configs/wings.serviceAdded+19
configs/www-pterodactyl.confAdded+14