daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest Apr 21st, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     listen [::]:80;
  4.     server_name ONION_HERE;
  5.     server_tokens off;
  6.     access_log  off;
  7.     error_log off;
  8.     root /var/jail/nginx/
  9.     index.php index.html;
  10.     location / {
  11.         try_files $uri $uri/ =404;
  12.     }
  13.     location ~ \.php$ {
  14.         include snippets/fastcgi-php.conf;
  15.         fastcgi_pass unix:/var/jail/php/run/php/php7.0-fpm.sock;
  16.     }
  17.  
  18.     location ~ /\.ht {
  19.         deny all;
  20.     }
  21. }
  22. server{
  23.     add_header X-Frame-Options SAMEORIGIN;
  24.     add_header X-Content-Type-Options nosniff;
  25.     add_header X-XSS-Protection "1; mode=block";
  26. }
  27. server {
  28.     listen 80;
  29.     listen [::]:80;
  30.     server_name IP_HERE;
  31.     return 444;
  32. }
RAW Paste Data
Top