Merge pull request #2942 from wrouesnel/444_default_support

Add support for nginx 444 default response
This commit is contained in:
jc21 authored and GitHub committed 2023-07-20 12:23:57 +10:00
commit f38cb5b500
3 files changed
+11

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ server {
}
{% endif %}
{%- if value == "444" %}
location / {
return 444;
}
{% endif %}
{%- if value == "redirect" %}
location / {
return 301 {{ meta.redirect }};