V
V
v- death2015-12-01 22:42:45
Nginx
v- death, 2015-12-01 22:42:45

How to remove the extension when transferring to fcgi?

location ~* \.api$ {
            fastcgi_pass 127.0.0.1:5000;
            include /etc/nginx/fastcgi_params;
    }

When I enter index.api on fcgi, I get the same index.api
How can I remove the share on the nginx side? thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question