| changeset 1558 | 761ba7426984 |
| child 1571 | 4a1e6952afe5 |
| 1557:7c67caaafdeb | 1558:761ba7426984 |
|---|---|
1 polemictweet.test { |
|
2 tls internal |
|
3 root * /var/www/html |
|
4 |
|
5 @main path_regexp ^/(.+)/([0-9A-Za-z_-]+)\.php$ |
|
6 @phpfile `file() && path('*.php')` |
|
7 |
|
8 rewrite /sitemap.xml /sitemap.php |
|
9 |
|
10 handle @phpfile { |
|
11 php_fastcgi php-fpm:9000 |
|
12 } |
|
13 |
|
14 handle { |
|
15 root * /var/www/html |
|
16 rewrite @main /{re.2}.php?rep={re.1} |
|
17 php_fastcgi php-fpm:9000 |
|
18 file_server |
|
19 } |
|
20 |
|
21 } |