Highlights
Block or Report
Block or report gruessung
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
-
1
#!/bin/bash
23# Shell script to add a subdomain to nginx with let's encrypt
45DOMAIN=""
-
1
<?php
2if (strpos($_SERVER['HTTP_REFERER'], 'yourdomain.com') === false) {
3header('HTTP/1.0 403 Forbidden');
4die('forbidden for '.$_SERVER['HTTP_REFERER']);
5}