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