Skip to content

Instantly share code, notes, and snippets.

View Grezvany13's full-sized avatar
💾
literal save icon

Johan de Jong Grezvany13

💾
literal save icon
View GitHub Profile
@plentz
plentz / nginx.conf
Last active November 20, 2024 13:00
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
<?php
$sites = "http://www.broadcastsolutions.com.au/
http://www.kvm.com.au/
http://www.ambertech.com.au/";
$sites = preg_split('/\r\n|\r|\n/', $sites);
echo "