{"id":24089444,"url":"https://github.com/longbridge/traefik-session-max-age","last_synced_at":"2025-07-02T10:32:23.275Z","repository":{"id":198150184,"uuid":"700139425","full_name":"longbridge/traefik-session-max-age","owner":"longbridge","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-04T09:52:32.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T22:29:40.067Z","etag":null,"topics":["traefik","traefik-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/longbridge.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-04T02:48:32.000Z","updated_at":"2024-04-08T04:23:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"db71a1c7-10a4-4031-bf32-fbe0ec3453fd","html_url":"https://github.com/longbridge/traefik-session-max-age","commit_stats":null,"previous_names":["patrick0308/traefik-session-max-age","longbridge/traefik-session-max-age","longbridgeapp/traefik-session-max-age"],"tags_count":1,"template":false,"template_full_name":"traefik/plugindemo","purl":"pkg:github/longbridge/traefik-session-max-age","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Ftraefik-session-max-age","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Ftraefik-session-max-age/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Ftraefik-session-max-age/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Ftraefik-session-max-age/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/longbridge","download_url":"https://codeload.github.com/longbridge/traefik-session-max-age/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/longbridge%2Ftraefik-session-max-age/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263120927,"owners_count":23416901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["traefik","traefik-plugin"],"created_at":"2025-01-10T04:13:18.618Z","updated_at":"2025-07-02T10:32:23.238Z","avatar_url":"https://github.com/longbridge.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository includes traefik plugin which sets sticky session cookie's max age.\n\n### Configuration\n\nFor traefik plugin, static configuration must define the module name (as is usual for Go packages).\n\nThe following declaration (given here in YAML) defines a plugin:\n\n```yaml\n# Static configuration\n\nexperimental:\n  plugins:\n    session-max-age:\n      moduleName: github.com/longbridgeapp/traefik-session-max-age\n      version: v0.1.0\n```\n\nHere is an example of a file provider dynamic configuration (given here in YAML), where the interesting part is the `http.middlewares` section:\n\n```yaml\n# Dynamic configuration\n\nhttp:\n  routers:\n    my-router:\n      rule: host(`demo.localhost`)\n      service: service-foo\n      entryPoints:\n        - web\n      middlewares:\n        - session-max-age\n\n  services:\n    service-foo:\n      loadBalancer:\n        servers:\n          - url: http://127.0.0.1:5000\n\n  middlewares:\n    session-max-age:\n      plugin:\n        session-max-age:\n          cookieName: traefik_cookie\n          maxAge: 100000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongbridge%2Ftraefik-session-max-age","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flongbridge%2Ftraefik-session-max-age","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flongbridge%2Ftraefik-session-max-age/lists"}