From d9a34b5bdc0026f14b0bac49c7daf6deb5f6fd6e Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 11 Jan 2024 05:53:55 +0000 Subject: [PATCH] 7 --- docker/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index 78e9a46..1770306 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -45,6 +45,12 @@ http { root /tmp/public; } + location /public { + root /tmp/public; + + try_files $uri $uri/ =404; + } + # Upload endpoint location /upload.php { try_files $uri =404;