mirror of
https://github.com/KevinMidboe/nginx.git
synced 2026-01-10 11:25:36 +00:00
Updated syntax error more_set_headers
This commit is contained in:
@@ -10,8 +10,8 @@ server {
|
||||
|
||||
server_name _;
|
||||
|
||||
more_set_header 'X-Dead-End true';
|
||||
more_set_header 'Content-Type text/plain';
|
||||
more_set_headers 'X-Dead-End true';
|
||||
more_set_headers 'Content-Type text/plain';
|
||||
|
||||
return 200 ok;
|
||||
}
|
||||
@@ -24,8 +24,8 @@ server {
|
||||
|
||||
server_name _;
|
||||
|
||||
more_set_header 'X-Dead-End true';
|
||||
more_set_header 'Content-Type text/plain';
|
||||
more_set_headers 'X-Dead-End true';
|
||||
more_set_headers 'Content-Type text/plain';
|
||||
|
||||
return 425 "SSL not supported here.";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user