ansible-role-hubdmz/templates/http.conf.j2

25 lines
626 B
Django/Jinja

proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g;
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name ouaset.masr.nemunai.re _;
location / {
rewrite ^ https://$server_name$request_uri permanent;
}
location /server_status {
stub_status on;
allow 127.0.0.1;
allow ::1;
allow 192.168.0.0/16;
allow 82.64.151.41;
allow 82.64.31.248;
allow 2a01:e0a:2b:2250::/64;
allow 2a01:e0a:518:830::/64;
allow fe80::/64;
deny all;
}
}