char/live.umm.gay

git clone https://git.t4t.associates/char/live.umm.gay

videogame hacker[WIP] Ergo IRCd + Gamja for chat6bf2f0e

main
725 B29 linesraw
1map $http_upgrade $connection_upgrade {
2  default upgrade;
3  ''      close;
4}
5
6server {
7  listen 443 ssl http2;
8  listen [::]:443 ssl http2;
9
10  server_name chat.live.umm.gay;
11
12  ssl_certificate     /etc/letsencrypt/live/chat.live.umm.gay/fullchain.pem;
13  ssl_certificate_key /etc/letsencrypt/live/chat.live.umm.gay/privkey.pem;
14
15  location / {
16    root /srv/www/chat.live.umm.gay;
17  }
18
19  location /webirc {
20    proxy_pass http://127.0.0.1:3002/;
21
22    proxy_http_version 1.1;
23    proxy_read_timeout 600s;
24    proxy_set_header Upgrade $http_upgrade;
25    proxy_set_header Connection "Upgrade";
26    proxy_set_header X-Forwarded-For $remote_addr;
27    proxy_set_header X-Forwarded-Proto $scheme;
28  }
29}