mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-02-23 17:26:17 +00:00
10 lines
347 B
Nginx Configuration File
10 lines
347 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root ${ASSETS};
|
|
location / {
|
|
# First attempt to serve request as file, then as directory, then fall back to redirecting to index.html
|
|
# This is needed for history mode in Vue router: https://router.vuejs.org/guide/essentials/history-mode.html#nginx
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|