A
A
artyom0252017-07-26 01:04:20
Accelerated Mobile Pages
artyom025, 2017-07-26 01:04:20

What Location config is needed for AMP NGINX?

tort.ru/id/543545 = /id/index.php?543545
tort.ru/id/543545/amp = /id/amp.php?543545
please tell me how to implement this in the nginx config

location /id {
  try_files $uri $uri/ /id/index.php?$args;
    }

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