fix: www specific location for archiso
This commit is contained in:
parent
da6f04e42e
commit
4117bd80c5
@ -42,8 +42,8 @@ job "www" {
|
||||
]
|
||||
volumes = [
|
||||
"local/nginx.conf:/etc/nginx/nginx.conf",
|
||||
"/srv/http/welcome:/usr/share/nginx/html/welcome",
|
||||
"/mnt/diskstation/nomad/archiso:/usr/share/nginx/html/archiso"
|
||||
"/srv/http/:/usr/share/nginx/html/",
|
||||
"/mnt/diskstation/nomad/archiso:/usr/share/nginx/archiso"
|
||||
]
|
||||
|
||||
}
|
||||
@ -74,6 +74,10 @@ http {
|
||||
rewrite ^ /welcome redirect;
|
||||
#return 301 https://$host/welcome
|
||||
}
|
||||
location /archiso {
|
||||
alias /usr/share/nginx/archiso/;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user