Mercurial Hosting > nabble
annotate nginx/ubuntu.nabble.com @ 64:f8a307aa811f
fix security hole
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 16 Sep 2024 20:53:23 -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 } |