I have a ssl cert on my domain but its
I have a ssl cert on my domain but its http and I can't use my panel properly
50 Replies
Show me your /etc/nginx/sites-enabled/pterodactyl.conf file
alr

@sin
Okay first of all, generate the certificate if you didnt do that already
I did it generated successfully
but still http
Second of all, add this to your server block
You didn't select the SSL generation in the script so you have to do it manually
wait where do I put that? I'm kinda confused lol
inside the server block
so I need to put it here /etc/nginx/sites-available/default
/etc/nginx/sites-available/pterodactyl.conf
oooh k
these are different?
.
no
oh
lol

like this?
wait
No
notz like this
inside of the server {}
oh

uh
like that?
why did you format is so weird
just copy and paste it
I did
it does it automatically
Im on a phone and I'm using termux
so it's formating it like that
format it like the original there will be issues
ok
also why are you on a phone
my pc is broken
still doesn't work
what's the issue
https not working
u there?
@sin
Please explain the issue
I added this
and I still cannot access https on my panel
@sin
Did you restart nginx?
yup
Nginx status?
?
what do I do?
systemctl status nginx
What's the outputLoaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-02-05 17:41:01 UTC; 37s ago
Docs: man:nginx(8)
Process: 10005 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCES
S)
Process: 10006 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 10007 (nginx)
Tasks: 5 (limit: 28697)
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-02-05 17:41:01 UTC; 37s ago
Docs: man:nginx(8)
Process: 10005 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 10006 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 10007 (nginx)
Tasks: 5 (limit: 28697)
Memory: 4.2M
CGroup: /system.slice/nginx.service
├─10007 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─10008 nginx: worker process
├─10009 nginx: worker process
├─10010 nginx: worker process
└─10011 nginx: worker process
Feb 05 17:41:01 instance-20230205-1321 systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 05 17:41:01 instance-20230205-1321 systemd[1]: Started A high performance web server and a reverse proxy server.
@sin
i've seen it
Just to confirm, can you show me the pterodactyl.conf file again?
server {
listen 80;
listen [::]:80;
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt
/live/example.org/privkey.pem;
include /etc/letsencrypt/
options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/
ssl-dhparams.pem;
server_name panel.scrapenodes.ga;
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;
}
}
you didnt replace the domain..
lol
server {
listen 80;
listen [::]:80;
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/panel.scrapenodes.ga/fullchain.pem;
ssl_certificate_key /etc/letsencrypt
/live/panel.scrapenodes.ga/privkey.pem;
include /etc/letsencrypt/
options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/
ssl-dhparams.pem;
server_name panel.scrapenodes.ga;
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;
}
}
server {
listen 80;
listen [::]:80;
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/panel.scrapenodes.ga/fullchain.pem;
ssl_certificate_key /etc/letsencrypt
/live/panel.scrapenodes.ga/privkey.pem;
include /etc/letsencrypt/
options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/
ssl-dhparams.pem;
server_name panel.scrapenodes.ga;
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;
}
}
the formatting is very off
how
bro
can I just give u the access to the vps and u do it?
needs to be like this
?
nope
bruh
hello I have done everything


still shows this or this
@sin
uh so I reinstalled my vps
did everything again
@sin
I have fixed it
but now wings won't work
no error when I start it but still red heart
@sin
Firewall open?
yup