forked from LibreSchool/libreschool.org
feed url rewrite
This commit is contained in:
parent
3292c1fc29
commit
a980fd44be
@ -7,6 +7,11 @@ server {
|
|||||||
root /wwwroot;
|
root /wwwroot;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
location ~ ^/feed {
|
||||||
|
rewrite ^/feed$ /index.xml last;
|
||||||
|
rewrite ^/feed/.*$ /index.xml last;
|
||||||
|
}
|
||||||
|
|
||||||
location = /404.html {
|
location = /404.html {
|
||||||
internal;
|
internal;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user