mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2025-02-12 00:31:47 +01:00
commit
da2ec60144
@ -49,7 +49,7 @@ Please take note of the indentation in the above block. The first line should be
|
||||
|
||||
- listen: "80"
|
||||
server_name: "example.com www.example.com"
|
||||
return "301 https://example.com$request_uri;"
|
||||
return: "301 https://example.com$request_uri"
|
||||
filename: "example.com.80.conf"
|
||||
|
||||
An example of a secondary vhost which will redirect to the one shown above.
|
||||
|
Loading…
Reference in New Issue
Block a user