18 lines
380 B
Nginx Configuration File
18 lines
380 B
Nginx Configuration File
# {{ ansible_managed }}
|
|
|
|
upstream thelounge {
|
|
server 127.0.0.1:{{ thelounge_http_port }};
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2; # managed by Certbot
|
|
listen [::]:443 ssl http2; # managed by Certbot
|
|
|
|
include ssl.conf;
|
|
server_name {{ thelounge_subdomain }}.{{ host_fqdn }};
|
|
|
|
location ~ / {
|
|
include proxy.conf;
|
|
proxy_pass http://thelounge;
|
|
}
|
|
}
|