Dockerfile and nginx.conf changes for tutorials
This commit is contained in:
@@ -20,6 +20,12 @@ server {
|
||||
index index.html;
|
||||
}
|
||||
|
||||
# Explicit location for /tutorials/
|
||||
location /tutorials/ {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
# Optional: serve static assets (CSS, JS, images)
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in New Issue
Block a user