Skip to content
New issue

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

nginx working example solved #98

Closed
johndoek131 opened this issue Jan 31, 2024 · 1 comment
Closed

nginx working example solved #98

johndoek131 opened this issue Jan 31, 2024 · 1 comment

Comments

@johndoek131
Copy link

First of all, thanks for this great software.
I referenced the previous discussion but it didn't work for me because the graph didn't show. The problem lies in failing to GET /api/*. It took me days to come out a working example (at least for me). Hope it helps.

root   /var/www/;
index  index.html index.htm index.php;

location /nfsen-ng/ {
    alias   /var/www/nfsen-ng/frontend/;
}
location /api {
    rewrite ^/api/(.*)$ /nfsen-ng/backend/index.php?request=$1 redirect;
}
@mbolli mbolli pinned this issue Jan 31, 2024
@mbolli
Copy link
Owner

mbolli commented Jan 31, 2024

Thanks, pinned!

@mbolli mbolli closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants