-
I've used NGINX Gateway Fabric to expose my Django Service, but I lost my static files, does there is a convenient way to directly proxy static files? it should as below if in standard NGINX config file.
Or if there is any tutorials I can follow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
NGINX Gateway Fabric is not meant to serve static files or to be used as a webserver. It is meant to be used as a reverse proxy to forward requests to your backend Service. Ultimately the backend Service is what needs to be serving the content. Your backend Service could be running nginx and serve those files. |
Beta Was this translation helpful? Give feedback.
NGINX Gateway Fabric is not meant to serve static files or to be used as a webserver. It is meant to be used as a reverse proxy to forward requests to your backend Service. Ultimately the backend Service is what needs to be serving the content. Your backend Service could be running nginx and serve those files.