tty
This commit is contained in:
parent
2c39f622ce
commit
e8b25b21ef
1 changed files with 12 additions and 2 deletions
14
nginx.conf
14
nginx.conf
|
|
@ -1,9 +1,19 @@
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
# Redirect traffic from /lab/data-dashboard/ to your index.html
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# This location must match the Traefik PathPrefix
|
||||
location /lab/data-dashboard/ {
|
||||
alias /usr/share/nginx/html/;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# Keep a root location for the Health Check
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
gzip_types text/css application/javascript application/json;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue