~bzg/worg

473f69ed678bed1d5fc821a90914a738b69a565c — Bastien 10 months ago 0b85a4f
nginx.conf: Redirect updates.orgmode.org to tracker.orgmode.org

See https://list.orgmode.org/87jzqe0zaj.fsf@localhost
1 files changed, 4 insertions(+), 9 deletions(-)

M nginx.conf
M nginx.conf => nginx.conf +4 -9
@@ 267,15 267,10 @@ server {
        access_log off;
    }

    location / {
        proxy_redirect          off;
        proxy_set_header        Host            $host;
        proxy_set_header        X-Real-IP       $remote_addr;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_hide_header       X-Frame-Options;
        proxy_set_header        X-Forwarded-Proto $scheme;
        proxy_pass http://localhost:3001;
    }
    rewrite ^/feed/updates https://tracker.orgmode.org/index.rss permanent;
    rewrite ^/feed/bugs https://tracker.orgmode.org/bugs.rss permanent;
    rewrite ^/feed/patches https://tracker.orgmode.org/patches.rss permanent;
    rewrite ^/ https://tracker.orgmode.org permanent;

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/updates.orgmode.org/fullchain.pem; # managed by Certbot