Wallabag
·1 min
Install #
docker run \
-d \
-v /opt/wallabag/data:/var/www/wallabag/data \
-v /opt/wallabag/images:/var/www/wallabag/web/assets/images \
-e SYMFONY__ENV__DOMAIN_NAME="https://wallabag.flister.cf" \
-e SYMFONY__ENV__FOSUSER_REGISTRATION=false \
--restart unless-stopped \
-p 8091:80 wallabag/wallabag
# Setup TLS
sudo certbot --nginx -d wallabag.flister.cf
Add the following to the relevant section of the Nginx config file:
location / {
proxy_pass http://localhost:8091;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr;
}
Note:
- Detailed instructions here.
- The domain in
SYMFONY__ENV__DOMAIN_NAME
is the one you use to access the website. So, if you access via some other IP address or domain name, CSS styles won’t load.