# Does the plugin directory support github forks?

**URL:** <https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462>\
**Category:** Traefik v2\
**Tags:** plugin\
**Created:** [April 28, 2023, 10:57pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462 "2023-04-28T22:57:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![troyxmccall](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/troyxmccall/32/7056_2.png) [@troyxmccall](https://community.traefik.io/u/troyxmccall)\
**Post date:** [April 28, 2023, 10:57pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/1 "2023-04-28T22:57:41Z")

</div>

Hi! First of all, thank you for all of your hard work, Traefik is my favorite reverse proxy on the market.

My question is does the plugin directory support forks of existing plugins?

I've customized a plugin for speed on: [GitHub - madebymode/traefik-modsecurity-plugin: Traefik plugin to proxy requests to owasp/modsecurity-crs:nginx container](https://github.com/madebymode/traefik-modsecurity-plugin), which is a fork of [GitHub - acouvreur/traefik-modsecurity-plugin: Traefik plugin to proxy requests to owasp/modsecurity-crs:apache container](https://github.com/acouvreur/traefik-modsecurity-plugin) and can run it locally, but it doesn't seem to be registered in the plugin directory

**Steps to reproduce**

1. I can run my plugin locally
2. But when I try to download it from the traefik plugin registry I get

```auto
 msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/madebymode/traefik-modsecurity-plugin: error: 404: {\"error\":\"Unknown plugin: github.com/madebymode/traefik-modsecurity-plugin@v1.4.0\"}\n"

```

I've follow the trouble-shooting guide here: [Developing Traefik Plugins](https://plugins.traefik.io/create)

and have tagged my plugin [traefik-plugin]

and my issues are open - but I haven't gotten a submission describing why the plugin can't be added

thanks

* * *

`Version: 5.0 (Macintosh)`

---

<div class="post-metadata">

**Author:** ![ldez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ldez/32/5_2.png) [@ldez](https://community.traefik.io/u/ldez)\
**Post date:** [April 29, 2023, 1:05pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/2 "2023-04-29T13:05:20Z")

</div>

Hello,

soft forks are not allowed because it's impossible to distinguish a fork related to a PR from a real fork.

You have to create a hard fork if you want to publish your plugin.

---

<div class="post-metadata">

**Author:** ![troyxmccall](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/troyxmccall/32/7056_2.png) [@troyxmccall](https://community.traefik.io/u/troyxmccall)\
**Post date:** [April 29, 2023, 1:30pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/3 "2023-04-29T13:30:28Z")

</div>

@ldez ty so much for your quick reply and solution!

I've opened a ticket on github to detach my fork

---

<div class="post-metadata">

**Author:** ![ldez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ldez/32/5_2.png) [@ldez](https://community.traefik.io/u/ldez)\
**Post date:** [April 29, 2023, 3:22pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/4 "2023-04-29T15:22:52Z")

</div>

Creating a hard fork is simple:

- keep locally your fork
- delete your current fork from GitHub
- create a new GitHub repo with the same name as your fork
- and then push your local repo to this new repo (without modifying the git content)

---

<div class="post-metadata">

**Author:** ![troyxmccall](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/troyxmccall/32/7056_2.png) [@troyxmccall](https://community.traefik.io/u/troyxmccall)\
**Post date:** [April 30, 2023, 12:49am UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/5 "2023-04-30T00:49:26Z")

</div>

thanks @ldez, really appreciate all your help and insight!

i've created a hard-fork on my repo here: [GitHub - madebymode/traefik-modsecurity-plugin: Traefik plugin to proxy requests to owasp/modsecurity-crs:nginx container](https://github.com/madebymode/traefik-modsecurity-plugin)

but i'm still experiencing 404s when trying to download it

```auto
traefik-modsecurity-plugin-traefik-1 | time="2023-04-30T00:43:38Z" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/madebymode/traefik-modsecurity-plugin: error: 404: {\"error\":\"Unknown plugin: github.com/madebymode/traefik-modsecurity-plugin@v1.4.1\"}\n"

```

and it shows up here: [traefik-plugin · GitHub Topics · GitHub](https://github.com/topics/traefik-plugin?o=desc&s=updated)

do you think there could be an issue with the plugin cache? or should I use a different naming standard?

---

<div class="post-metadata">

**Author:** ![troyxmccall](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/troyxmccall/32/7056_2.png) [@troyxmccall](https://community.traefik.io/u/troyxmccall)\
**Post date:** [May 1, 2023, 5:19pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/6 "2023-05-01T17:19:54Z")

</div>

looks like it was a caching issue, can install my plugin from the directory now!

ty so much for your help

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/b/bd81ebdb578656e76e56ff3cc3eed021d3ba132d.png) [@system](https://community.traefik.io/u/system)\
**Post date:** [May 4, 2023, 5:20pm UTC](https://community.traefik.io/t/does-the-plugin-directory-support-github-forks/18462/7 "2023-05-04T17:20:17Z")

</div>

Closed on May 4, 2023, 5:20pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
