#server { # listen 81.16.19.64:80 default_server; # listen 45.129.182.13:80 default_server; # listen [2a03:4000:47:58a::]:80 default_server; # return 302 https://$host$request_uri; #} server { listen 80 default_server; return 302 https://$host$request_uri; }