chore: enhance Nginx configuration for direct access and update main entry point to dynamically resolve Router basename based on environment settings
This commit is contained in:
@@ -6,6 +6,11 @@ server {
|
||||
root /app/dist;
|
||||
index index.html;
|
||||
|
||||
# Acceso directo al puerto (sin Apache): misma app bajo el prefijo del build.
|
||||
location = / {
|
||||
return 301 /orcid2words/;
|
||||
}
|
||||
|
||||
# Apache forwards the full path; strip /orcid2words/ before resolving files under dist/.
|
||||
location = /orcid2words {
|
||||
return 301 /orcid2words/;
|
||||
|
||||
Reference in New Issue
Block a user