ansible-config/roles/website/updates/templates/site.j2
2017-02-18 14:57:09 +01:00

44 lines
810 B
Django/Jinja

server {
listen 443 ssl;
listen [::]:443 ssl;
server_name updates.hamburg.freifunk.net;
ssl_certificate {{ updates_ssl_certificate }};
ssl_certificate_key {{ updates_ssl_certificate_key }};
root /var/www/updates;
location / {
include /etc/nginx/include/headers_hsts.conf;
include /etc/nginx/include/listing.conf;
}
}
# Kein HTTPS Redirect wg. Paketinstallation auf Routern
server {
listen 80;
listen [::]:80;
server_name updates.hamburg.freifunk.net;
root /var/www/updates;
location / {
include /etc/nginx/include/listing.conf;
}
}
server {
listen 80;
listen [::]:80;
server_name 1.updates.services.ffhh;
root /var/www/updates;
location / {
include /etc/nginx/include/listing.conf;
}
}