-
I want to add “basic_url” config to static plugins When I visit http://127.0.0.1/basic/file.log In fact, the file path I visited was "src / public / file.log", not "src / public / basic / file.log" |
Beta Was this translation helpful? Give feedback.
Answered by
rustatian
Dec 12, 2021
Replies: 1 comment 6 replies
-
@zaishui15 Hey, you can use a |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
rustatian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zaishui15 Hey, you can use a
fileserver
plugin. It serves directories with its own http prefixes: https://github.com/spiral/roadrunner-plugins/blob/master/fileserver/docs/fileserver.md