Feature #8023 ยป redirect-fqdn.patch
src/etc/inc/system.inc | ||
---|---|---|
1591 | 1591 |
server { |
1592 | 1592 |
listen 80; |
1593 | 1593 |
listen [::]:80; |
1594 |
return 301 https://\$http_host$redirectport\$request_uri; |
|
1594 |
server_name {$config['system']['hostname']}.{$config['system']['domain']}; |
|
1595 |
return 301 https://\$server_name$redirectport\$request_uri; |
|
1595 | 1596 |
} |
1596 | 1597 | |
1597 | 1598 |
EOD; |