ansible-builder/templates/nginx.default

23 lines
673 B
Plaintext
Raw Normal View History

2021-09-26 01:02:53 +02:00
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
2021-12-29 18:14:49 +01:00
server_name builder3.hamburg.freifunk.net;
2021-09-26 01:02:53 +02:00
2021-12-29 18:14:49 +01:00
ssl_certificate /etc/letsencrypt/live/builder3.hamburg.freifunk.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/builder3.hamburg.freifunk.net/privkey.pem;
2021-09-26 01:02:53 +02:00
root /firmware;
location ~* \.manifest$ { types { } default_type "text/plain; charset=utf-8"; }
location / {
try_files $uri $uri/ =404;
fancyindex on;
fancyindex_name_length 120;
}
}