diff --git a/frontend/js/app/nginx/proxy/form.ejs b/frontend/js/app/nginx/proxy/form.ejs index 1a498301..56868f55 100644 --- a/frontend/js/app/nginx/proxy/form.ejs +++ b/frontend/js/app/nginx/proxy/form.ejs @@ -257,16 +257,17 @@
-

Nginx variables available to you are:

+

<%- i18n('all-hosts', 'advanced-config-var-headline') %>

    -
  • $server # Host/IP
  • -
  • $port # Port Number
  • -
  • $forward_scheme # http or https
  • +
  • $server <%- i18n('proxy-hosts', 'forward-host') %>
  • +
  • $port <%- i18n('proxy-hosts', 'forward-port') %>
  • +
  • $forward_scheme <%- i18n('proxy-hosts', 'forward-scheme') %>
+

<%- i18n('all-hosts', 'advanced-config-header-info') %>

diff --git a/frontend/js/i18n/messages.json b/frontend/js/i18n/messages.json index 3384d718..a6f9d8f9 100644 --- a/frontend/js/i18n/messages.json +++ b/frontend/js/i18n/messages.json @@ -84,6 +84,8 @@ "advanced": "Advanced", "advanced-warning": "Enter your custom Nginx configuration here at your own risk!", "advanced-config": "Custom Nginx Configuration", + "advanced-config-var-headline": "These proxy details are available as nginx variables:", + "advanced-config-header-info": "Please note, that any add_header or set_header directives added here will not be used by nginx. You will have to add a custom location '/' and add the header in the custom config there.", "hsts-enabled": "HSTS Enabled", "hsts-subdomains": "HSTS Subdomains", "locations": "Custom locations"