I am not using Phoenix.
I am using Elixir with Plugs.
Then it’s even easier. Just add a plug somewhere in your plug pipeline.
Do you have a sample script to guide me, please?
defmodule MyApp.Router do
use Plug.Router # or Plug.Builder
# ...
plug(Plug.Static, at: "/images", from: "/usr/local/uploads")
# ...
end
There’s more information on hexdocs.






















