Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3715403
D2842.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
6 KB
Referenced Files
None
Subscribers
None
D2842.diff
View Options
diff --git a/roles/paas-docker/nginx/files/includes/proxy_params b/roles/paas-docker/nginx/files/includes/proxy_params
--- a/roles/paas-docker/nginx/files/includes/proxy_params
+++ b/roles/paas-docker/nginx/files/includes/proxy_params
@@ -16,8 +16,6 @@
# and will be lost if the state is redeployed.
# </auto-generated>
-proxy_redirect off;
-
# -------------------------------------------------------------
# Headers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/roles/paas-docker/nginx/files/vhosts/_default.conf b/roles/paas-docker/nginx/files/vhosts/_default.conf
--- a/roles/paas-docker/nginx/files/vhosts/_default.conf
+++ b/roles/paas-docker/nginx/files/vhosts/_default.conf
@@ -35,6 +35,7 @@
location / {
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/_default;
diff --git a/roles/paas-docker/nginx/files/vhosts/acme_dns.conf b/roles/paas-docker/nginx/files/vhosts/acme_dns.conf
--- a/roles/paas-docker/nginx/files/vhosts/acme_dns.conf
+++ b/roles/paas-docker/nginx/files/vhosts/acme_dns.conf
@@ -58,6 +58,7 @@
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
}
diff --git a/roles/paas-docker/nginx/files/vhosts/auth-grove.conf b/roles/paas-docker/nginx/files/vhosts/auth-grove.conf
--- a/roles/paas-docker/nginx/files/vhosts/auth-grove.conf
+++ b/roles/paas-docker/nginx/files/vhosts/auth-grove.conf
@@ -35,6 +35,7 @@
location / {
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/$server_name;
diff --git a/roles/paas-docker/nginx/files/vhosts/bugzilla.conf b/roles/paas-docker/nginx/files/vhosts/bugzilla.conf
--- a/roles/paas-docker/nginx/files/vhosts/bugzilla.conf
+++ b/roles/paas-docker/nginx/files/vhosts/bugzilla.conf
@@ -37,6 +37,7 @@
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/_default;
diff --git a/roles/paas-docker/nginx/files/vhosts/cachet.conf b/roles/paas-docker/nginx/files/vhosts/cachet.conf
--- a/roles/paas-docker/nginx/files/vhosts/cachet.conf
+++ b/roles/paas-docker/nginx/files/vhosts/cachet.conf
@@ -35,6 +35,7 @@
location / {
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/{{ fqdn }};
diff --git a/roles/paas-docker/nginx/files/vhosts/etherpad.conf b/roles/paas-docker/nginx/files/vhosts/etherpad.conf
--- a/roles/paas-docker/nginx/files/vhosts/etherpad.conf
+++ b/roles/paas-docker/nginx/files/vhosts/etherpad.conf
@@ -36,6 +36,7 @@
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
diff --git a/roles/paas-docker/nginx/files/vhosts/hauk.conf b/roles/paas-docker/nginx/files/vhosts/hauk.conf
--- a/roles/paas-docker/nginx/files/vhosts/hauk.conf
+++ b/roles/paas-docker/nginx/files/vhosts/hauk.conf
@@ -48,6 +48,7 @@
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/_default;
diff --git a/roles/paas-docker/nginx/files/vhosts/jenkins.conf b/roles/paas-docker/nginx/files/vhosts/jenkins.conf
--- a/roles/paas-docker/nginx/files/vhosts/jenkins.conf
+++ b/roles/paas-docker/nginx/files/vhosts/jenkins.conf
@@ -37,6 +37,7 @@
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
# Required for new HTTP-based CLI
# https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
diff --git a/roles/paas-docker/nginx/files/vhosts/openfire.conf b/roles/paas-docker/nginx/files/vhosts/openfire.conf
--- a/roles/paas-docker/nginx/files/vhosts/openfire.conf
+++ b/roles/paas-docker/nginx/files/vhosts/openfire.conf
@@ -39,6 +39,7 @@
location / {
proxy_pass http://{{ args['ip'] }}:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/_default;
diff --git a/roles/paas-docker/nginx/files/vhosts/phabricator.conf b/roles/paas-docker/nginx/files/vhosts/phabricator.conf
--- a/roles/paas-docker/nginx/files/vhosts/phabricator.conf
+++ b/roles/paas-docker/nginx/files/vhosts/phabricator.conf
@@ -40,6 +40,7 @@
ssl_certificate_key /srv/letsencrypt/etc/live/{{ fqdn }}/privkey.pem;
include includes/proxy_params;
+ proxy_redirect off;
location / {
proxy_pass http://localhost:{{ app_port }};
}
@@ -84,6 +85,7 @@
include includes/letsencrypt;
include includes/proxy_params;
+ proxy_redirect off;
location / {
proxy_pass http://localhost:{{ app_port }};
}
@@ -114,6 +116,7 @@
include includes/letsencrypt;
include includes/proxy_params;
+ proxy_redirect off;
location / {
proxy_pass http://localhost:{{ app_port }};
}
diff --git a/roles/paas-docker/nginx/files/vhosts/pixelfed.conf b/roles/paas-docker/nginx/files/vhosts/pixelfed.conf
--- a/roles/paas-docker/nginx/files/vhosts/pixelfed.conf
+++ b/roles/paas-docker/nginx/files/vhosts/pixelfed.conf
@@ -35,6 +35,7 @@
location / {
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
location /.well-known/change-password {
diff --git a/roles/paas-docker/nginx/files/vhosts/rabbitmq.conf b/roles/paas-docker/nginx/files/vhosts/rabbitmq.conf
--- a/roles/paas-docker/nginx/files/vhosts/rabbitmq.conf
+++ b/roles/paas-docker/nginx/files/vhosts/rabbitmq.conf
@@ -39,6 +39,7 @@
location / {
proxy_pass http://{{ args['ip'] }}:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/_default;
diff --git a/roles/paas-docker/nginx/files/vhosts/sentry.conf b/roles/paas-docker/nginx/files/vhosts/sentry.conf
--- a/roles/paas-docker/nginx/files/vhosts/sentry.conf
+++ b/roles/paas-docker/nginx/files/vhosts/sentry.conf
@@ -35,6 +35,7 @@
location / {
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
location /.well-known/change-password {
diff --git a/roles/paas-docker/nginx/files/vhosts/tommy.conf b/roles/paas-docker/nginx/files/vhosts/tommy.conf
--- a/roles/paas-docker/nginx/files/vhosts/tommy.conf
+++ b/roles/paas-docker/nginx/files/vhosts/tommy.conf
@@ -35,6 +35,7 @@
location / {
proxy_pass http://localhost:{{ app_port }};
include includes/proxy_params;
+ proxy_redirect off;
}
root /var/wwwroot-502/_default;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 05:51 (4 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231263
Default Alt Text
D2842.diff (6 KB)
Attached To
Mode
D2842: Avoid duplicate proxy_redirect nginx directive
Attached
Detach File
Event Timeline
Log In to Comment