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
when I request http://dev.example.com/hello/ via chrome, it returns a blank page with several 404 errors as follow.
(index):10 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/css/screen.css net::ERR_ABORTED
(index):6 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/css/typography.css net::ERR_ABORTED
(index):8 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/css/reset.css net::ERR_ABORTED
(index):20 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/lib/handlebars-4.0.5.js net::ERR_ABORTED
(index):15 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/lib/object-assign-pollyfill.js net::ERR_ABORTED
(index):16 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/lib/jquery-1.8.0.min.js net::ERR_ABORTED
(index):17 GET http://dev.example.com/swaggerui/bower/swagger-ui/dist/lib/jquery.slideto.min.js net::ERR_ABORTED
obviously, there is no hello in the urls. When I try to request http://dev.example.com/hello/swaggerui/bower/swagger-ui/dist/css/screen.css , it will success.
This is the web page source and <base> tag has been inserted at the top of <head> tag.
@aledbf I have faced the same problem as well, the index.html is going inside the folder defined in the path and the static files in some other directory resulting in 404. Can you please help on this
Is this a BUG REPORT (choose one):
Cannot request resources with relative path on a page.
NGINX Ingress controller version:
0.15.0
Kubernetes version (use
kubectl version
):1.10.1
Environment:
uname -a
): Linux bogon 4.4.0-116-generic proposal: application health check #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/LinuxWhat happened:
I have a backend service (let's say hello) which is a flask-restplus web service and have the following ingress configuration
when I request
http://dev.example.com/hello/
via chrome, it returns a blank page with several404
errors as follow.obviously, there is no
hello
in the urls. When I try to requesthttp://dev.example.com/hello/swaggerui/bower/swagger-ui/dist/css/screen.css
, it will success.This is the web page source and
<base>
tag has been inserted at the top of<head>
tag.I think
nginx.ingress.kubernetes.io/add-base-url: "true"
works, but still cannot request relative path correctly.What you expected to happen:
Request relative path correctly.
How to reproduce it (as minimally and precisely as possible):
Always.
Anything else we need to know:
NO
The text was updated successfully, but these errors were encountered: