Disable sending headers on http
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c809ef29b2
commit
2e584825ff
@ -4,7 +4,10 @@ server {
|
|||||||
|
|
||||||
include snippets/universal_paths.conf;
|
include snippets/universal_paths.conf;
|
||||||
|
|
||||||
|
# Don't send headers
|
||||||
|
add_header "" "";
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 308 https://$host$request_uri;
|
return 308 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user