aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/nginx/peertube6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index aca985785..225241bac 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -91,7 +91,7 @@ server {
91 } 91 }
92 92
93 location / { 93 location / {
94 proxy_pass http://localhost:9000; 94 proxy_pass http://127.0.0.1:9000;
95 proxy_set_header X-Real-IP $remote_addr; 95 proxy_set_header X-Real-IP $remote_addr;
96 proxy_set_header Host $host; 96 proxy_set_header Host $host;
97 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 97 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -156,14 +156,14 @@ server {
156 proxy_http_version 1.1; 156 proxy_http_version 1.1;
157 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 157 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
158 proxy_set_header Host $host; 158 proxy_set_header Host $host;
159 proxy_pass http://localhost:9000; 159 proxy_pass http://127.0.0.1:9000;
160 } 160 }
161 161
162 location /socket.io { 162 location /socket.io {
163 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 163 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
164 proxy_set_header Host $host; 164 proxy_set_header Host $host;
165 165
166 proxy_pass http://localhost:9000; 166 proxy_pass http://127.0.0.1:9000;
167 167
168 # enable WebSockets 168 # enable WebSockets
169 proxy_http_version 1.1; 169 proxy_http_version 1.1;