node.ffho.net 403 B

12345678910111213141516171819
  1. geo $url {
  2. # default
  3. default hochstift.freifunk.net;
  4. {%- set sites = salt['pillar.get']('sites') %}
  5. {% for site_name, site in sites.items()|sort %}
  6. # {{ site.name}}
  7. {{ site.prefix_v6 }} node.{{ site_name }}.ffho.net;
  8. {{ site.prefix_v4 }} node.{{ site_name }}.ffho.net;
  9. {% endfor %}
  10. }
  11. server {
  12. listen 80;
  13. listen [::]:80;
  14. server_name ~^node.(srv\.)?(in\.)?ffho.net$;
  15. return 302 http://$url;
  16. }