diff --git a/build/proxy/nginx.conf b/build/proxy/nginx.conf index 0e658c5..995e652 100644 --- a/build/proxy/nginx.conf +++ b/build/proxy/nginx.conf @@ -12,6 +12,9 @@ http { } server { + if ($scheme = http) { + return 301 https://$server_name$request_uri; + } listen 80; autoindex on; root /www/data;