Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synlinks is not working in Caddy V2 #3631

Closed
milewski opened this issue Aug 4, 2020 · 5 comments
Closed

Synlinks is not working in Caddy V2 #3631

milewski opened this issue Aug 4, 2020 · 5 comments
Labels
duplicate 🖇️ This issue or pull request already exists

Comments

@milewski
Copy link

milewski commented Aug 4, 2020

Hi I have the following configuration:

:80 {

    root * /srv/public
    file_server

    php_fastcgi php:9000

}

acessing http://docker.localhost/somefile.txt works

however acessing: http://docker.localhost/somefolder/somefile.txt where somefolder is a synlink doesnt work..

confirmed that it does work in V1 without any change

@francislavoie
Copy link
Member

This is fixed by #3587 which is slated to be released with Caddy v2.2

For now, you can build from master or use one of the build artifacts from https://github.com/caddyserver/caddy/actions/runs/194178338 until v2.2 is released.

Closing as a duplicate.

@francislavoie francislavoie added the duplicate 🖇️ This issue or pull request already exists label Aug 4, 2020
@milewski
Copy link
Author

milewski commented Sep 7, 2020

Is there any ETA for the release of v2.2? that is the only issue is preventing me to use caddy to in prod since the v2 release... I can't change my ci/build system right now to compile this from source

@francislavoie
Copy link
Member

francislavoie commented Sep 7, 2020

We're hoping for later this week, but it depends on a few factors.

Can you not use v2.2.0-rc.1? It has the fix.

https://github.com/caddyserver/caddy/releases/tag/v2.2.0-rc.1

Building from source is really easy with xcaddy, give it a shot!

@milewski
Copy link
Author

milewski commented Sep 7, 2020

Uhm, I did not find the -rc on docker hub https://hub.docker.com/_/caddy?tab=tags&page=1 has it been published there yet?

I know how easy it is to build it from the source I have built it locally and tested it already, the problem doing this on my prod env is that I have to go through a process to get approval to 1 week later then get approval again to revert it back... So I'd rather wait is available on the docker hub (even as RC is fine) and skip this process.

@francislavoie
Copy link
Member

Ah, yeah we tend to not publish beta/rc builds to Docker/package managers.

So yeah, probably just a week or two away from 2.2 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 🖇️ This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants