social.conf 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ## Configuração para social5dgegf5a7k.onion
  2. ## Tor
  3. #server {
  4. # listen 127.0.0.1:42909;
  5. # allow 127.0.0.1;
  6. # deny all;
  7. #
  8. # add_header X-Frame-Options SAMEORIGIN;
  9. # add_header X-Content-Type-Options nosniff;
  10. #
  11. # server_name social5dgegf5a7k.onion;
  12. #
  13. # root /var/www/git/social.pirata.xyz;
  14. #
  15. # index index.php;
  16. #
  17. # location ~* \.php$ {
  18. # #include snippets/fastcgi-php.conf;
  19. # try_files $uri $uri/ /index.php;
  20. # fastcgi_split_path_info ^(.+\.php)(/.+)$;
  21. # fastcgi_pass unix:/var/run/php5-fpm-social.sock;
  22. # include fastcgi_params;
  23. # fastcgi_index index.php;
  24. # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  25. # fastcgi_read_timeout 300;
  26. # }
  27. #
  28. # #add_header X-Frame-Options DENY;
  29. # add_header X-Content-Type-Options nosniff;
  30. #
  31. # ## Location
  32. # location / {
  33. # try_files $uri $uri/ @gnusocial;
  34. # }
  35. #
  36. # ## Fancy URLs
  37. # location @gnusocial {
  38. # rewrite ^(.*)$ /index.php?p=$1 last;
  39. # break;
  40. # }
  41. #
  42. # ## Restrict access that is unnecessary anyway
  43. # location ~ /\.(ht|git) {
  44. # deny all;
  45. # }
  46. #
  47. # location ~* ^/(.*)\.(ico|css|js|gif|png|jpg|bmp|JPG|jpeg)$ {
  48. # root /var/www/git/social.pirata.xyz;
  49. # rewrite ^/(.*)$ /$1 break;
  50. # access_log off;
  51. # expires max;
  52. # }
  53. #}
  54. #server {
  55. # listen 127.0.0.1:42902;
  56. # allow 127.0.0.1;
  57. # deny all;
  58. #
  59. # add_header X-Frame-Options SAMEORIGIN;
  60. # add_header X-Content-Type-Options nosniff;
  61. #
  62. # server_name ro4a6wyb4bjqpqgg.onion;
  63. #
  64. # return 301 http://social5dgegf5a7k.onion$request_uri;
  65. #}