Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. # FORGE CONFIG (DOT NOT REMOVE!)
  2. include forge-conf/keepgoodmoney.com/before/*;
  3.  
  4. server {
  5. listen 443 ssl http2;
  6. listen [::]:443 ssl http2;
  7. server_name .keepgoodmoney.com;
  8. root /home/forge/keepgoodmoney.com/public;
  9.  
  10. upload_max_filesize 50M;
  11. post_max_size 50M;
  12. memory_limit 50M;
  13.  
  14. # FORGE SSL (DO NOT REMOVE!)
  15. ssl_certificate /etc/nginx/ssl/keepgoodmoney.com/136675/server.crt;
  16. ssl_certificate_key /etc/nginx/ssl/keepgoodmoney.com/136675/server.key;
  17.  
  18. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  19. ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
  20. ssl_prefer_server_ciphers on;
  21. ssl_dhparam /etc/nginx/dhparams.pem;
  22.  
  23. index index.html index.htm index.php;
  24.  
  25. charset utf-8;
  26.  
  27. # FORGE CONFIG (DOT NOT REMOVE!)
  28. include forge-conf/keepgoodmoney.com/server/*;
  29.  
  30. location / {
  31. try_files $uri $uri/ /index.php?$query_string;
  32. upload_max_filesize 50M;
  33. post_max_size 50M;
  34. memory_limit 50M;
  35.  
  36. }
  37.  
  38. location = /favicon.ico { access_log off; log_not_found off; }
  39. location = /robots.txt { access_log off; log_not_found off; }
  40.  
  41. access_log off;
  42. error_log /var/log/nginx/keepgoodmoney.com-error.log error;
  43.  
  44.  
  45. error_page 404 /index.php;
  46.  
  47. location ~ \.php$ {
  48. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  49. fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
  50. fastcgi_index index.php;
  51. include fastcgi_params;
  52. upload_max_filesize 50M;
  53. post_max_size 50M;
  54. memory_limit 50M;
  55. }
  56.  
  57. location ~ /\.ht {
  58. deny all;
  59. upload_max_filesize 50M;
  60. post_max_size 50M;
  61. memory_limit 50M;
  62. }
  63. }
  64.  
  65. # FORGE CONFIG (DOT NOT REMOVE!)
  66. include forge-conf/keepgoodmoney.com/after/*;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement