Answer the question
In order to leave comments, you need to log in
Why won't the admin panel open?
I have the following directory structure in the nginx/html folder:
$ admin_panel client
And the config is as follows (react application):
root html/client;
location / {
try_files $uri $uri /index.html;
}
location = /CRMAccounts {
proxy_pass http://localhost:4200/CRMAccounts;
}
location /CRM {
proxy_set_header Host $host;
proxy_pass http://localhost:4200/CRM;
}
location /auth {
proxy_pass http://localhost:4200/auth;
}
../admin_panel
. location = /admin_panel {
root ../admin_panel;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question