mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	Adds advanced config header warning and replaces variable info with translation
This commit is contained in:
		| @@ -257,16 +257,17 @@ | ||||
|                 <div role="tabpanel" class="tab-pane" id="advanced"> | ||||
|                     <div class="row"> | ||||
|                         <div class="col-md-12"> | ||||
|                             <p>Nginx variables available to you are:</p> | ||||
|                             <p><%- i18n('all-hosts', 'advanced-config-var-headline') %></p> | ||||
|                             <ul class="text-monospace"> | ||||
|                                 <li>$server          # Host/IP</li> | ||||
|                                 <li>$port            # Port Number</li> | ||||
|                                 <li>$forward_scheme  # http or https</li> | ||||
|                                 <li><code>$server</code> <%- i18n('proxy-hosts', 'forward-host') %></li> | ||||
|                                 <li><code>$port</code> <%- i18n('proxy-hosts', 'forward-port') %></li> | ||||
|                                 <li><code>$forward_scheme</code> <%- i18n('proxy-hosts', 'forward-scheme') %></li> | ||||
|                             </ul> | ||||
|                             <div class="form-group mb-0"> | ||||
|                                 <label class="form-label"><%- i18n('all-hosts', 'advanced-config') %></label> | ||||
|                                 <textarea name="advanced_config" rows="8" class="form-control text-monospace" placeholder="# <%- i18n('all-hosts', 'advanced-warning') %>"><%- advanced_config %></textarea> | ||||
|                             </div> | ||||
|                             <p class="small text-gray"><i class="fe fe-alert-triangle"></i> <%- i18n('all-hosts', 'advanced-config-header-info') %></p> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                 </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user