Mercurial Hosting > nabble
annotate nginx/ubuntu.nabble.com @ 66:3fbe9cb2e325
security
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 18 Sep 2024 03:51:47 -0600 |
parents | 41d76bd6268a |
children |
rev | line source |
---|---|
58 | 1 server { |
2 listen 80; | |
3 listen [::]:80; | |
4 server_name ubuntu.nabble.com; | |
5 | |
6 location / { | |
7 add_header Access-Control-Allow-Origin *; | |
8 proxy_pass http://127.0.0.1:8080; | |
9 proxy_set_header Host $http_host; | |
10 proxy_set_header X-Forwarded-Proto $scheme; | |
11 proxy_set_header X-Real-IP $remote_addr; | |
12 } | |
13 } |