server {
 listen      80;
 #ssl_certificate     /etc/letsencrypt/live/{{ identifier }}/fullchain.pem;
 #ssl_certificate_key /etc/letsencrypt/live/{{ identifier }}/privkey.pem;
 #ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
 #ssl_ciphers         HIGH:!aNULL:!MD5;
 server_name {{ identifier }};
 root        /opt/librenms/html;
 index       index.php;

 charset utf-8;
 gzip on;
 gzip_types text/css application/javascript text/javascript application/x-javascript image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
 location / {
  try_files $uri $uri/ /index.php?$query_string;
 }
 location ~ [^/]\.php(/|$) {
  fastcgi_pass unix:/run/php/{{ identifier }}.sock;
  fastcgi_split_path_info ^(.+\.php)(/.+)$;
  include fastcgi.conf;
 }
 location ~ /\.(?!well-known).* {
  deny all;
 }
}


