view nginx/ubuntu.nabble.com @ 61:fe217789a45f

new hg server
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 30 Sep 2023 20:11:05 -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;
    }
}