| author | ymh <ymh.work@gmail.com> |
| Wed, 18 Dec 2024 15:24:41 +0100 | |
| changeset 1584 | 257c14dae52a |
| parent 1571 | 4a1e6952afe5 |
| permissions | -rw-r--r-- |
|
1558
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
polemictweet.test {
|
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
tls internal |
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
root * /var/www/html |
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
|
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
@main path_regexp ^/(.+)/([0-9A-Za-z_-]+)\.php$ |
| 1571 | 6 |
@phpfile `file() && path('*.php')`
|
|
1558
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
|
| 1571 | 8 |
rewrite /sitemap.xml /sitemap.php |
|
1558
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
|
| 1571 | 10 |
handle @phpfile {
|
11 |
php_fastcgi php-fpm:9000 |
|
12 |
} |
|
|
1558
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
|
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
14 |
handle {
|
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
15 |
root * /var/www/html |
| 1571 | 16 |
rewrite @main /{re.2}.php?{query}&rep={re.1}
|
|
1558
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
php_fastcgi php-fpm:9000 |
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
file_server |
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
} |
|
761ba7426984
upgrade metadataplayer and add a sitemap
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
20 |
|
| 1571 | 21 |
} |