Guest User

Untitled

a guest
Dec 11th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. passaparolalibri.it
  2.  
  3. server {
  4. listen 80;
  5. listen [::]:80;
  6. root /srv/dev-disk-by-label-nas/NAS/public_html/passaparolalibri.it/;
  7. index index.html index.php;
  8. server_name passaparolalibri.it www.passaparolalibri.it;
  9.  
  10. location ~ .php$ {
  11. include snippets/fastcgi-php.conf;
  12. fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  13. }
  14. }
  15.  
  16. user www-data;
  17. worker_processes auto;
  18. pid /run/nginx.pid;
  19. include /etc/nginx/modules-enabled/*.conf;
  20.  
  21. events {
  22. worker_connections 768;
  23. # multi_accept on;
  24. }
  25.  
  26. http {
  27.  
  28. ##
  29. # Basic Settings
  30. ##
  31.  
  32. sendfile on;
  33. tcp_nopush on;
  34. tcp_nodelay on;
  35. keepalive_timeout 65;
  36. types_hash_max_size 2048;
  37. # server_tokens off;
  38.  
  39. fastcgi_read_timeout 300;
  40.  
  41. server_names_hash_bucket_size 64;
  42.  
  43. # server_name_in_redirect off;
  44.  
  45. include /etc/nginx/mime.types;
  46. default_type application/octet-stream;
  47.  
  48. ##
  49. # SSL Settings
  50. ##
  51.  
  52. ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
  53. ssl_prefer_server_ciphers on;
  54.  
  55. ##
  56. # Logging Settings
  57. ##
  58.  
  59. access_log /var/log/nginx/access.log;
  60. error_log /var/log/nginx/error.log;
  61.  
  62. ##
  63. # Gzip Settings
  64. ##
  65.  
  66. gzip on;
  67. gzip_disable "msie6";
  68.  
  69. # gzip_vary on;
  70. # gzip_proxied any;
  71. # gzip_comp_level 6;
  72. # gzip_buffers 16 8k;
  73. # gzip_http_version 1.1;
  74. # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
  75.  
  76. ##
  77. # Virtual Host Configs
  78. ##
  79.  
  80. include /etc/nginx/conf.d/*.conf;
  81. include /etc/nginx/sites-enabled/*;
  82. }
  83.  
  84.  
  85. #mail {
  86. # # See sample authentication script at:
  87. # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  88. #
  89. # # auth_http localhost/auth.php;
  90. # # pop3_capabilities "TOP" "USER";
  91. # # imap_capabilities "IMAP4rev1" "UIDPLUS";
  92. #
  93. # server {
  94. # listen localhost:110;
  95. # protocol pop3;
  96. # proxy on;
  97. # }
  98. #
  99. # server {
  100. # listen localhost:143;
  101. # protocol imap;
  102. # proxy on;
  103. # }
  104. #}
Add Comment
Please, Sign In to add comment