comparison 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
comparison
equal deleted inserted replaced
57:d5ee58e3abe5 58:41d76bd6268a
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 }