mirror of
https://github.com/iv-org/invidious-redirect.git
synced 2024-12-13 01:54:26 -05:00
Fix nginx root location
Only index.html is accessed, no real subfolders
This commit is contained in:
parent
73ea88d4fc
commit
3c56df2d38
@ -5,4 +5,6 @@ RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine as app
|
||||
# fix nginx root location
|
||||
RUN sed -i 's|index index.html index.htm;|try_files $uri /index.html;|g' /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build /app/build/ /usr/share/nginx/html/
|
||||
|
Loading…
Reference in New Issue
Block a user