Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit ea3fac9

Browse files
authored
Update nginx.conf
1 parent a07d6d8 commit ea3fac9

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

nginx.conf

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ server {
44
server_name localhost;
55

66
root /var/www/html;
7-
87
index index.html;
98

10-
# Serve the front-end application for all unmatched routes
119
location / {
1210
try_files $uri /index.html =404;
1311
}
1412

15-
# Serve certificate file directly
16-
location /certificates/ {
17-
root /usr/share/nginx/html;
18-
default_type application/octet-stream;
19-
autoindex on;
20-
}
13+
error_log /var/log/nginx/error.log;
14+
access_log /var/log/nginx/access.log;
15+
2116
}

0 commit comments

Comments
 (0)