Skip to content

Commit

Permalink
fix: adjust NGINX root directory for documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Feb 8, 2025
1 parent 552fd42 commit cc8f42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ http {

include /etc/nginx/conf.d/redirects.conf;

location /docs {
root /usr/share/nginx/html;
location / {
root /usr/share/nginx/html/docs;
index index.html;
try_files $uri $uri/ $uri.html =404;
}
Expand Down

0 comments on commit cc8f42a

Please sign in to comment.