mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-09 15:45:01 -04:00
fix(docker): nginx config to redirect to index.html
This commit is contained in:
parent
c339ab3551
commit
db9b62f38e
2 changed files with 11 additions and 0 deletions
10
nginx.conf
Normal file
10
nginx.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue