Skip to content
/ autofeed Public

Docker image for generating a RSS feed for files in a directory.

License

Notifications You must be signed in to change notification settings

tseho/autofeed

Repository files navigation

autofeed

How to use with a nginx reverse proxy

docker run -dt \
    --restart=unless-stopped \
    --name=feed \
    -p 127.0.0.1:8099:9000 \
    -v /path/to/public/directory:/srv/files:ro \
    -e "FEED_URL=http://example.com/feed" \
    -e "FEED_BASE_URL=https://example.com/" \
    tseho/autofeed

Where FEED_URL is the url of the RSS feed, FEED_BASE_URL is the url of the exposed directory and /path/to/public/directory is the absolute path of this exposed directory.

server {
    // ...

    location /feed {
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME /var/www/index.php;
        fastcgi_param DOCUMENT_ROOT /var/www;
        fastcgi_pass 127.0.0.1:8099;
    }
}

About

Docker image for generating a RSS feed for files in a directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published