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 facing a strange issue with Nginx config.
When I try to put url directly on the browser without a trailing slash, my url gets redirected to 8080 port, and does not take into account the relative paths.
Here is my Nginx config:
server {
listen 8080;
server_name localhost;
root /app;
include /app/next-routes.conf;
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /app;
}
}
I am facing a strange issue with Nginx config.
When I try to put url directly on the browser without a trailing slash, my url gets redirected to 8080 port, and does not take into account the relative paths.
Here is my Nginx config:
And here is an example of my
next-routes.conf
:The text was updated successfully, but these errors were encountered: