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.

15 lines
306 B

4 years ago
4 years ago
4 years ago
  1. server {
  2. listen 80;
  3. listen [::]:80;
  4. server_name {{ $domain }}@if ($redirect_www) www.{{ $domain }}@endif;
  5. return 301 http://{{ $domain }}$request_uri;
  6. }
  7. server {
  8. listen 80;
  9. listen [::]:80;
  10. @include('partials.default', ['domain' => $domain])
  11. @section('server')
  12. @show
  13. }