Mercurial Hosting > nabble
diff nginx/ubuntu.nabble.com @ 58:41d76bd6268a
add doc for ssl
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Tue, 30 Nov 2021 09:32:14 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nginx/ubuntu.nabble.com Tue Nov 30 09:32:14 2021 +0200 @@ -0,0 +1,13 @@ +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; + } +}