添加 redirect/to-primay-domain.conf
This commit is contained in:
parent
11e9d08779
commit
03c3ee49e9
1 changed files with 3 additions and 0 deletions
3
redirect/to-primay-domain.conf
Normal file
3
redirect/to-primay-domain.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
if ($host != $server_name) {
|
||||||
|
return 307 $scheme://$server_name$request_uri;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue