Files
vito/resources/views/ssh/services/webserver/nginx/vhost-blocks/port.blade.php
Saeed Vaziry 131b828807 Plugins base (#613)
* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
2025-06-14 14:35:18 +02:00

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]