This commit is contained in:
Artur Kuś 2026-01-02 12:32:05 +01:00
parent f6071ed206
commit 8c00614bdd
2 changed files with 3 additions and 6 deletions

View File

@ -13,11 +13,8 @@ server {
location / {
if ($redirect_https = "") {
return 444;
}
return 301 $redirect_https$request_uri;
}
return 301 https://$host$request_uri;
}
}

View File

@ -1,7 +1,7 @@
server {
listen 443 ssl;
server_name kursy.kopama.pl;
server_name kursy.kopama.pl www.kursy.kopama.pl;
server_tokens off;