Skip to content

Commit

Permalink
nginx html root
Browse files Browse the repository at this point in the history
  • Loading branch information
tvrcgo committed Jan 11, 2025
1 parent 96543e4 commit f07ecc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion nginx/conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http {
charset utf-8;

location / {
root /etc/nginx/html;
root /usr/share/nginx/html;
index index.html;
}
}
Expand Down
1 change: 0 additions & 1 deletion nginx/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ services:
- /share/Container/nginx/conf/nginx.conf:/etc/nginx/nginx.conf
- /share/Container/nginx/conf/conf.d:/etc/nginx/conf.d
- /share/Container/nginx/cert:/etc/nginx/cert
- /share/Container/nginx/html:/etc/nginx/html
- /share/Container/nginx/log:/var/log/nginx
ports:
- 9000:80
Expand Down

0 comments on commit f07ecc2

Please sign in to comment.