configurations/Nginx/Server Blocks/data.ins.conf

29 lines
646 B
Plaintext
Raw Normal View History

2021-05-01 15:13:49 -04:00
server {
listen 10.8.0.1:443 ssl http2;
#listen [::]:443 ssl http2;
server_name data.ins;
ssl_certificate /etc/nginx/ssl/data-ins.chain.crt;
ssl_certificate_key /etc/nginx/ssl/data-ins.key.pem;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_pass http://10.8.0.1:19999;
proxy_read_timeout 90;
proxy_redirect http://10.8.0.1:19999 https://data.ins;
}
}