view nginx/ubuntu.nabble.com @ 66:3fbe9cb2e325 default tip

security
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 18 Sep 2024 03:51:47 -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;
    }
}