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

nixos/apache-httpd/wordpress: copy plugins and themes instead of syml… #53561

Conversation

FPtje
Copy link
Contributor

@FPtje FPtje commented Jan 7, 2019

backport of #53399

@basvandijk

…inking

Symlinking works for most plugins and themes, but Avada, for instance, fails to
understand the symlink, causing its file path stripping to fail. This results in
requests that look like:

https://example.com/wp-content//nix/store/...plugin/path/some-file.js

Since hard linking directories is not allowed, copying is the next best thing.

(cherry picked from commit 9d2c915)
@basvandijk basvandijk merged commit cca1e37 into NixOS:release-18.09 Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants