15 lines
299 B
Plaintext
15 lines
299 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server ipv6only=on;
|
|
|
|
server_name *.de ;
|
|
|
|
include /etc/nginx/snippets/letsencrypt.conf;
|
|
|
|
root /var/www/html;
|
|
index index.html;
|
|
location / {
|
|
rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https
|
|
}
|
|
}
|