diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-11-17 16:36:05 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-11-17 16:36:05 -0500 |
| commit | 69bfee6e20fafbf14cec77e363867ab172af007e (patch) | |
| tree | 37e3ba9bc241b423aba0eb66a5c3d53b08e33b8c /nginx | |
| parent | 7fbc1544350076c95ac41cf981c81f261ab60b55 (diff) | |
use $host for multi-subdomain redirect
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 0216a52f..2365bf7f 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -175,7 +175,7 @@ http { root /var/empty; - return 301 https://mta-sts.grapheneos.org$request_uri; + return 301 https://$host$request_uri; } server { |
