{"action":"created","issue":{"url":"https://api.github.com/repos/vfarcic/docker-flow-proxy/issues/435","repository_url":"https://api.github.com/repos/vfarcic/docker-flow-proxy","labels_url":"https://api.github.com/repos/vfarcic/docker-flow-proxy/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/vfarcic/docker-flow-proxy/issues/435/comments","events_url":"https://api.github.com/repos/vfarcic/docker-flow-proxy/issues/435/events","html_url":"https://github.com/vfarcic/docker-flow-proxy/issues/435","id":299064677,"number":435,"title":"Confusion with indexes","user":{"login":"remy-tiitre","id":369548,"avatar_url":"https://avatars1.githubusercontent.com/u/369548?v=4","gravatar_id":"","url":"https://api.github.com/users/remy-tiitre","html_url":"https://github.com/remy-tiitre","followers_url":"https://api.github.com/users/remy-tiitre/followers","following_url":"https://api.github.com/users/remy-tiitre/following{/other_user}","gists_url":"https://api.github.com/users/remy-tiitre/gists{/gist_id}","starred_url":"https://api.github.com/users/remy-tiitre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remy-tiitre/subscriptions","organizations_url":"https://api.github.com/users/remy-tiitre/orgs","repos_url":"https://api.github.com/users/remy-tiitre/repos","events_url":"https://api.github.com/users/remy-tiitre/events{/privacy}","received_events_url":"https://api.github.com/users/remy-tiitre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-21T17:44:25Z","updated_at":"2018-02-23T07:51:26Z","closed_at":null,"author_association":"NONE","body":"Documentation could be more clearer about the indexed labels. For example, lets say that I have one service that I want to publish to different domains with minor differences. Its not very clear should i use\r\n        - com.df.port=8080\r\n        - com.df.servicePath=/\r\n        - com.df.serviceDomain.1=example1.com\r\n        - com.df.serviceDomain.2=example2.com\r\n\r\nor do I have to duplicate port and servicePaths with indexes as well for these cases:\r\n        - com.df.port.1=8080\r\n        - com.df.port.2=8080\r\n        - com.df.servicePath.1=/\r\n        - com.df.servicePath.2=/\r\n        - com.df.serviceDomain.1=example1.com\r\n        - com.df.serviceDomain.2=example2.com\r\n\r\nand I think that setReqHeader and other header settings can't be indexed at all? My usecase is really simple, I have 2 domains, from which one requires client certificates. So i need to forward different headers from different domains. Service itself is exacly the same though. And one more confusion with these indexes, is this logic correct?\r\n        - com.df.port=8080\r\n        - com.df.servicePath=/\r\n        - com.df.serviceDomain.1=example1.com\r\n        - com.df.serviceDomain.2=example2.com\r\n        - com.df.verifyClientSsl.2=true\r\n\r\nTheres no com.df.verifyClientSsl.1 label as I presume it will default to false?"},"comment":{"url":"https://api.github.com/repos/vfarcic/docker-flow-proxy/issues/comments/367935459","html_url":"https://github.com/vfarcic/docker-flow-proxy/issues/435#issuecomment-367935459","issue_url":"https://api.github.com/repos/vfarcic/docker-flow-proxy/issues/435","id":367935459,"user":{"login":"remy-tiitre","id":369548,"avatar_url":"https://avatars1.githubusercontent.com/u/369548?v=4","gravatar_id":"","url":"https://api.github.com/users/remy-tiitre","html_url":"https://github.com/remy-tiitre","followers_url":"https://api.github.com/users/remy-tiitre/followers","following_url":"https://api.github.com/users/remy-tiitre/following{/other_user}","gists_url":"https://api.github.com/users/remy-tiitre/gists{/gist_id}","starred_url":"https://api.github.com/users/remy-tiitre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remy-tiitre/subscriptions","organizations_url":"https://api.github.com/users/remy-tiitre/orgs","repos_url":"https://api.github.com/users/remy-tiitre/repos","events_url":"https://api.github.com/users/remy-tiitre/events{/privacy}","received_events_url":"https://api.github.com/users/remy-tiitre/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T07:51:26Z","updated_at":"2018-02-23T07:51:26Z","author_association":"NONE","body":"Ok, so when I index one parameter I have to index all that are indexable. Thats exactly that was confusing. Intuitivive way would have been that I have to index those that are different. Like this:\r\n- com.df.port=8080\r\n- com.df.servicePath=/\r\n- com.df.serviceDomain.1=example1.com\r\n- com.df.serviceDomain.2=example2.com\r\n\r\nI can give you a very good use case and also implementation for VerifyClientSsl indexing. https://discourse.haproxy.org/t/how-to-set-ssl-verify-client-for-specific-domain-name/1489/3"}}
{"actor":{"display_login":"remy-tiitre"}}