diff --git a/redirect/to-primay-domain.conf b/redirect/to-primay-domain.conf new file mode 100644 index 0000000..e9b93c1 --- /dev/null +++ b/redirect/to-primay-domain.conf @@ -0,0 +1,3 @@ +if ($host != $server_name) { + return 307 $scheme://$server_name$request_uri; +} \ No newline at end of file