mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
13 lines
298 B
PHP
13 lines
298 B
PHP
#[port]
|
|
@if (!$site->activeSsl || !$site->force_ssl)
|
|
listen 80;
|
|
listen [::]:80;
|
|
@endif
|
|
@if ($site->activeSsl)
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
ssl_certificate {{ $site->activeSsl->certificate_path }};
|
|
ssl_certificate_key {{ $site->activeSsl->pk_path }};
|
|
@endif
|
|
#[/port]
|