Closed zavndw closed 4 years ago
This is how it works:
location / {
root /srv/http/nfsen-ng;
index index.html;
if (!-e $request_filename) {
rewrite ^/api/(.*)$ /backend/index.php?request=$1 break;
}
rewrite ^/$ /frontend break;
}
Please tell me if there is a configuration example for nginx?