We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb0fcb2 commit 6ef38b3Copy full SHA for 6ef38b3
nginx.conf
@@ -7,13 +7,22 @@ server {
7
8
index index.html;
9
10
+ # Serve the front-end application for all unmatched routes
11
location / {
12
try_files $uri /index.html;
13
}
14
15
+ # Serve static files for assets
16
location /assets/ {
17
root /usr/share/nginx/html;
18
expires max;
19
add_header Cache-Control public;
20
-}
21
+
22
+ # Serve certificate file directly
23
+ location /certificates/ {
24
+ root /usr/share/nginx/html;
25
+ default_type application/octet-stream;
26
+ autoindex on;
27
+ }
28
+}
0 commit comments