Browse Source

adding #28

release/0.1
Björn 4 years ago
parent
commit
1a84f6b767
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      resources/nginx/templates/layouts/no-ssl.blade.php

+ 3
- 1
resources/nginx/templates/layouts/no-ssl.blade.php View File

@ -1,9 +1,11 @@
@if ($redirect_www)
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name {{ $domain }}@if ($redirect_www) www.{{ $domain }}@endif;
server_name {{ $domain }} www.{{ $domain }};
return 301 http://{{ $domain }}$request_uri; return 301 http://{{ $domain }}$request_uri;
} }
@endif
server { server {
listen 80; listen 80;


Loading…
Cancel
Save