We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scenario:
A server is set to serve a sinergis site under a directory. E.g. http://host/app is mapped into http://localhost:3000/. In current condition, everything is redirected to /, e.g accessing http://host/app is redirected to http://host/login and not http://host/app/login.
Preliminary code: https://github.com/mdamt/sinergis/tree/underdir
It needs prefix configuration in policy.
prefix
What's working:
nginx example config:
location /app { rewrite ^/app(/.*)$ $1 break; proxy_pass http://127.0.0.1:4000/; }
The text was updated successfully, but these errors were encountered:
diorahman
No branches or pull requests
Scenario:
A server is set to serve a sinergis site under a directory. E.g. http://host/app is mapped into http://localhost:3000/. In current condition, everything is redirected to /, e.g accessing http://host/app is redirected to http://host/login and not http://host/app/login.
Preliminary code: https://github.com/mdamt/sinergis/tree/underdir
It needs
prefix
configuration in policy.What's working:
nginx example config:
The text was updated successfully, but these errors were encountered: