123456789101112131415161718192021 |
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name {{inventory_hostname_short}}.{{freifunk.domain_short}} karte.freifunk-dortmund.de;
- location /.well-known/acme-challenge {
- root /var/www/letsencrypt;
- try_files $uri $uri/ =404;
- }
- location /nginx_status {
- stub_status on;
- access_log off;
- allow 127.0.0.1;
- deny all;
- }
- location / {
- return 301 https://$server_name$request_uri;
- }
- }
|