mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
10 lines
234 B
PHP
10 lines
234 B
PHP
#[force-ssl]
|
|
@if ($site->activeSsl && $site->force_ssl)
|
|
server {
|
|
listen 80;
|
|
server_name {{ $site->domain }} {{ $site->getAliasesString() }};
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
@endif
|
|
#[/force-ssl]
|