OpenSource CLI-App to install and handle stuff related to Web-Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
308 B

@if ($redirect_www)
server {
listen 80;
listen [::]:80;
server_name {{ $domain }} www.{{ $domain }};
return 301 http://{{ $domain }}$request_uri;
}
@endif
server {
listen 80;
listen [::]:80;
@include('partials.default', ['domain' => $domain])
@section('server')
@show
}