Report this

What is the reason for this report?

Nginx configuration for php mvc in sub directory

Posted on January 20, 2019

Need to configure below rewrite rule in Sub-directory in nginx configuration. subfolder name is example.com/interview/

location / {
rewrite ^/([^/]+)/$ /interview-category.php?hri_id=$1;
}
location /questions {
rewrite ^/questions/([^/]+)$ /hrinterview-forum.php?topic=$1;
}

any help thanks

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.