You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to deploy the Niltalk application on a subdirectory as a micro service, but I am encountering several issues.
Specifically, I have set the root_url in the config.toml file to https://example.site/chat, and I have set up a reverse proxy in Nginx to point to the application:
When I access https://example.site/chat, my browser is reporting multiple errors related to missing resources:
vue.min.js:1 Failed to load resource: the server responded with a status of 404 (https://example.site/vue.min.js)
client.js:1 Failed to load resource: the server responded with a status of 404 (https://example.site/client.js)
app.js:1 Failed to load resource: the server responded with a status of 404 (https://example.site/app.js)
logo.png:1 Failed to load resource: the server responded with a status of 404 (https://example.site/logo.png)
chat.png:1 Failed to load resource: the server responded with a status of 404 (https://example.site/chat.png)
style.css:1 Failed to load resource: the server responded with a status of 404 (https://example.site/style.css)
I tried using use custom static files and modify some files like template/base.html to reference them, but this approach only made things worse:
I have reverted to the default value and added the <base> tag as you recommended. Here's a partial snippet of my template/base.html file to show the changes I made:
However, I'm still encountering the same error when using custom static files to launch the application. Here are some screenshots of the errors I received in my browser:
Please let me know if there's anything else I could try. Thank you for your assistance.
I am attempting to deploy the Niltalk application on a subdirectory as a micro service, but I am encountering several issues.
Specifically, I have set the
root_url
in theconfig.toml
file tohttps://example.site/chat
, and I have set up a reverse proxy in Nginx to point to the application:When I access
https://example.site/chat
, my browser is reporting multiple errors related to missing resources:I tried using use custom static files and modify some files like
template/base.html
to reference them, but this approach only made things worse:Is there a way to host Niltalk in a subdirectory as a microservice?
The text was updated successfully, but these errors were encountered: