1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 02:21:33 -05:00

Update install.sh

This commit is contained in:
Tommy 2021-11-01 23:44:39 -04:00 committed by GitHub
parent 0fb51b38ef
commit b2a9a8ffaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,11 +485,13 @@ nginx_config() {
echo '
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name '"$FQDN"';
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name '"$FQDN"';
root /var/www/pterodactyl/public;
index index.php;
@ -548,11 +550,13 @@ nginx_config_redhat(){
echo '
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name '"$FQDN"';
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name '"$FQDN"';
root /var/www/pterodactyl/public;
index index.php;