view nginx/ubuntu.nabble.com @ 63:4987e1a38a6c

remove ads from homepage
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 28 Aug 2024 15:34:42 -0600
parents 41d76bd6268a
children
line wrap: on
line source

server {
    listen 80;
    listen [::]:80;
    server_name ubuntu.nabble.com;

    location / {
        add_header Access-Control-Allow-Origin *;
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
    }
}