Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Vidéos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Vidéos
Commits
eff7cdd7
Commit
eff7cdd7
authored
6 years ago
by
LecygneNoir
Committed by
Chocobozzz
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Configure docker image to accept trust_proxy as an env variable in json array (#1338)
parent
4293e362
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
support/docker/production/.env
+4
-1
4 additions, 1 deletion
support/docker/production/.env
support/docker/production/config/custom-environment-variables.yaml
+3
-1
3 additions, 1 deletion
...ocker/production/config/custom-environment-variables.yaml
with
7 additions
and
2 deletions
support/docker/production/.env
+
4
−
1
View file @
eff7cdd7
...
...
@@ -3,7 +3,10 @@ PEERTUBE_DB_PASSWORD=postgres_password
PEERTUBE_WEBSERVER_HOSTNAME=domain.tld
PEERTUBE_WEBSERVER_PORT=443
PEERTUBE_WEBSERVER_HTTPS=true
PEERTUBE_TRUST_PROXY=127.0.0.1
# If you need more than one IP as trust_proxy
# pass them as a comma separated array:
PEERTUBE_TRUST_PROXY=["127.0.0.1"]
#PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "192.168.1.0/24"]
PEERTUBE_SMTP_USERNAME=
PEERTUBE_SMTP_PASSWORD=
PEERTUBE_SMTP_HOSTNAME=
...
...
This diff is collapsed.
Click to expand it.
support/docker/production/config/custom-environment-variables.yaml
+
3
−
1
View file @
eff7cdd7
...
...
@@ -7,7 +7,9 @@ webserver:
__name
:
"
PEERTUBE_WEBSERVER_HTTPS"
__format
:
"
json"
trust_proxy
:
"
PEERTUBE_TRUST_PROXY"
trust_proxy
:
__name
:
"
PEERTUBE_TRUST_PROXY"
__format
:
"
json"
database
:
hostname
:
"
PEERTUBE_DB_HOSTNAME"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment