bundlewrap/data/steam-chat-viewer/vhost.conf
2022-06-01 20:09:28 +02:00

20 lines
555 B
Text

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:4001;
}
location /steamuserimages/ {
root /var/lib/steam_chat_logger/steamuserimages;
rewrite ^/steamuserimages(.*)$ $1 break;
autoindex on;
}
}