Kapisi/roles/WebServer/files/conf.d/Core/cyberbrain.conf

25 lines
619 B
Plaintext
Raw Normal View History

2022-09-15 14:23:34 -05:00
server {
listen 443 ssl http2;
server_name cyberbrain.aninix.net;
include sec.conf;
include default.csp.conf;
location /
{
auth_basic "Cyberbrain";
auth_basic_user_file ../passwords/cyberbrain.htpasswd;
proxy_pass http://127.0.0.1:8822;
proxy_http_version 1.1;
proxy_read_timeout 300;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-PORT $remote_port;
}
2022-12-18 22:21:39 -06:00
include letsencrypt.conf;
2022-09-15 14:23:34 -05:00
}