1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-07-29 19:01:13 +03:00

Merge pull request #2942 from wrouesnel/444_default_support

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

View File

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