mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-05 18:56:09 +08:00
Add NGINX implementation of proxy_set_header Forwarded (#275)
* add NGINX implementation of proxy_set_header Forwarded * update copyright year * Treat X-Forwarded-* same * Comments
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2020 DigitalOcean
|
||||
Copyright 2021 DigitalOcean
|
||||
|
||||
This code is licensed under the MIT License.
|
||||
You may obtain a copy of the License at
|
||||
@@ -26,7 +26,11 @@ THE SOFTWARE.
|
||||
|
||||
import common from '../../common';
|
||||
|
||||
const legacyXForwarded = 'Legacy X-Forwarded-* headers';
|
||||
|
||||
export default {
|
||||
reverseProxyMustBeEnabledOnOneSite: `${common.reverseProxy} must be enabled on at least one site to configure global ${common.reverseProxyLower} settings.`,
|
||||
seconds: 'seconds',
|
||||
passOn: `${legacyXForwarded} passed on`,
|
||||
remove: `${legacyXForwarded} actively removed`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user