-
Notifications
You must be signed in to change notification settings - Fork 77
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
caddy ssl not working correctly #152
Comments
I have same problem but with a regular SSL loaded by SSL_CERT and SSL_CERT_KEY My pterodactyl is gone.. |
Is there a way to enable the --debug option on the cert creation ? |
How did you disable it ? |
You can disable with SSL_CERT=none in the env fileLe 17 août 2023 à 04:33, Lucas ***@***.***> a écrit :
When using letsencrypt cert directly, caddy starts on 443, but assets don't load When disabling ssl, content shows up fine
How did you disable it ?
mine isn't disabling
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
My Pterodactyl image recently moved to almalinux and caddy, however I do not fully support the new methods that are built in (and scripted) due to certain issues with caddy and pterodactyl daemon unable to share certificates. I will also be advising to move to a reverse proxy configuration such as NGINX, Traefik, or an external caddy proxy. In regards to asset loading, that is an issue I am currently looking into since I do notice that even on non http configurations. |
i think the good way is to do by dns |
hey @ccarney16 |
Hey, so I am currently recommending to set SSL parameters to none on panel and daemon containers and opt to use a reverse proxy to forward traffic. At the moment caddy's built in SSL system is considered experimental until I get it ironed out. I have already pushed this image to a few production deployments using traefik as the reverse proxy, I see no issues at this moment. However if anyone can verify that their current Let's Encrypt certificates are having issues, please let me know, as during testing, the only issues I've encountered have been in regards to out-of-tree patches to pterodactyl. If anyone can also confirm if the certbot container can still get certificates, that would be great. |
i can try some test on the certbot container |
Hm, might want to check your APP_URL in |
@VozDeOuro Certbot does not look to be enabled on your project, you need to pass the |
its on http:// |
@VozDeOuro Trusted proxies need to be set in |
Sorry for the noob question, |
you need to set the variable to either the IP address of the proxy, or the CIDR range of the proxy. If traefik is on the same machine as the panel container, and using docker networking, you should be free to try out the CIDR range 172.16.0.0/12. However be aware this trusts all ip addresses in this range. |
i fixed it adding this caddy config
that need to install a module on the caddy and you need to build it
|
When using letsencrypt cert directly, caddy starts on 443, but assets don't load
When disabling ssl, content shows up fine
The text was updated successfully, but these errors were encountered: