Groups
Groups
Sign in
Groups
Groups
Nginx-Clojure
Conversations
About
Send feedback
Help
Retrying requests with nginx-clojure
22 views
Skip to first unread message
Piotr Dudkiewicz
unread,
Dec 17, 2019, 4:22:03 AM
12/17/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nginx-Clojure
Hi,
I've been playing with nginx-clojure and I'm trying to implement custom load balancer basing on spring example
(
https://github.com/nginx-clojure/nginx-clojure/tree/master/example-projects/spring-core-example
)
Is it possible to write custom retry mechanism with currently supported directives?
Thanks,
Piotr
zhang yx
unread,
Dec 19, 2019, 12:36:05 AM
12/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nginx-Clojure
The helpful directives are:
proxy_next_upstream
proxy_next_upstream_timeout
proxy_next_upstream_tries
Anymore nginx variables can be used.
Piotr Dudkiewicz
unread,
Dec 19, 2019, 4:56:22 AM
12/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nginx-Clojure
I tried to use this, however nginx clojure doesn't seem to support it.
Load balancing example is based on rewrite handler
http://nginx-clojure.github.io/configuration.html#user-content-25-nginx-rewrite-handler
hence my question about retries.
Reply all
Reply to author
Forward
0 new messages