Add http_redirect

This commit is contained in:
myve 2025-01-09 14:31:21 +00:00
commit 08ea8f1a14

7
http_redirect Normal file
View file

@ -0,0 +1,7 @@
server {
listen 80;
server_name _;
if ($scheme = "http") {
return 301 https://$host$request_uri;
}
}