#Using Google Domains with Cloudflare Tunnels
7 messages · Page 1 of 1 (latest)
There were too many logs to read @stiff lantern. Please post 5 or less.
server {
listen 80;
server_name <domain>;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name homelab.page;
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/homelab.page/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/homelab.page/privkey.pem;```
There were too many logs to read @stiff lantern. Please post 5 or less.
Would it be like that with homelab.page or set it with the sub domain pterodactyl.homelab.page?
Edit: yes, use the subdomain.
So I have it working now but I'm setting 502 errors when trying to view the panel.
@stiff lantern In the Cloudflare Tunnel did you go to TLS settings and enable "No TLS Verify"?