server { listen 80; server_name *.t2.fet.at; include snippets/letsencrypt.conf; # root /var/www/html # return 301 https://$host$request_uri; } server { listen 443; server_name t2.fet.at *.t2.fet.at; include snippets/ssl.conf; include snippets/ldap.conf; location / { # include snippets/header.conf; proxy_pass https://rancher:443; include snippets/proxy_header.conf; # include snippets/proxy_header.conf; } }