Spaces:
Sleeping
Sleeping
Upload nginx.conf
Browse files- client/nginx.conf +1 -1
client/nginx.conf
CHANGED
|
@@ -11,7 +11,7 @@ server {
|
|
| 11 |
location / {
|
| 12 |
root /usr/share/nginx/html;
|
| 13 |
index index.html index.htm;
|
| 14 |
-
try_files $uri $uri/
|
| 15 |
}
|
| 16 |
|
| 17 |
# Proxy API requests to the backend (same container)
|
|
|
|
| 11 |
location / {
|
| 12 |
root /usr/share/nginx/html;
|
| 13 |
index index.html index.htm;
|
| 14 |
+
try_files $uri $uri/ =404;
|
| 15 |
}
|
| 16 |
|
| 17 |
# Proxy API requests to the backend (same container)
|