I'm not a pro with networking and whatever I found in this forum just didn't help me to understand what my problem is. I just thaught that I could connect to my Proxmox GUI like I connect to other http(s)-Servers in my network. Proxmox is still 6.4, but I think that doesn't make a difference.
The proxmox.conf using my normal template after collecting a certificate from letsencrypt:
server {
server_name hostname.mydomain.tld;
client_max_body_size 10000M;
location / {
proxy_pass http://192.168.178.10:8006;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/hostname.mydomain.tld/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/hostname.mydomain.tld/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = hostname.mydomain.tld) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name hostname.mydomain.tld;
listen 80;
return 404; # managed by Certbot
}
Reply is
nginx/1.18.0 (Ubuntu)
I hope that someone can give me a hint.
Greetings Wolfgang
The proxmox.conf using my normal template after collecting a certificate from letsencrypt:
server {
server_name hostname.mydomain.tld;
client_max_body_size 10000M;
location / {
proxy_pass http://192.168.178.10:8006;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/hostname.mydomain.tld/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/hostname.mydomain.tld/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = hostname.mydomain.tld) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name hostname.mydomain.tld;
listen 80;
return 404; # managed by Certbot
}
Reply is
502 Bad Gateway
nginx/1.18.0 (Ubuntu)
I hope that someone can give me a hint.
Greetings Wolfgang