mondediefr / docker-flarum

:speech_balloon: :whale: Docker image of Flarum
https://hub.docker.com/r/mondedie/flarum
MIT License
507 stars 131 forks source link

Nginx 404 with fof/sitemap #103

Closed LittleSheep2Code closed 3 years ago

LittleSheep2Code commented 3 years ago

Can I use the sitemap plugin with this? I access it and get 404 error

My proxychain: docker(LocalServer) -> Nginx(LocalServer) -> Frpc(LocalServer) -> Frps -> Nginx

My forum url: https://forum.smartsheep.club I can sure the remote server configure is right, because I access it use the localhost and it is same 404 error Any, question or suggest?

The description said I need change the nginx configure, and how I change it? I need add this things:

location = /sitemap.xml {
    try_files $uri $uri/ /index.php?$query_string;
}

Thanks.

al3xLvs commented 3 years ago

https://github.com/mondediefr/docker-flarum#custom-vhost-flarum-nginx