Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9341765
D1176.id3744.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
481 B
Subscribers
None
D1176.id3744.diff
View Options
diff --git a/conf/nginx.conf b/conf/nginx.conf
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -49,9 +49,11 @@
}
location /rabbitmq/ {
set $upstream "http://amqp:15672";
-
- rewrite ^/rabbitmq/(.*)$ /$1 break;
- proxy_pass $upstream;
+
+ rewrite ^ $request_uri;
+ rewrite ^/rabbitmq(/.*)$ $1 break;
+
+ proxy_pass $upstream$uri;
}
location /scheduler {
set $upstream "http://swh-scheduler-api:5008";
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 12:18 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216484
Attached To
D1176: Fix nginx revert proxy for rabbitmq
Event Timeline
Log In to Comment