IPv4 vs IPv6:
*:80 vs [::]:80
Problems with SSL
Nginx seems to ignore server_name:
server {
listen *:443;
#ignored!!!
server_name subdomain.domain.com;
client_max_body_size 40m;
# ssl nastaveni
ssl on;
ssl_certificate /path/to/key.cer;
ssl_certificate_key /path/to/key.key;
location / {
proxy_pass https://domain.com:1234;
}
}