Guest User

Untitled

a guest
Apr 21st, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # SSL configuration
  2. #
  3. # listen 443 ssl default_server;
  4. # listen [::]:443 ssl default_server;
  5. #
  6. # Note: You should disable gzip for SSL traffic.
  7. # See: https://bugs.debian.org/773332
  8. #
  9. # Read up on ssl_ciphers to ensure a secure configuration.
  10. # See: https://bugs.debian.org/765782
  11. #
  12. # Self signed certs generated by the ssl-cert package
  13. # Don't use them in a production server!
  14. #
  15. # include snippets/snakeoil.conf;
  16.  
  17. root /var/www/horizonemail/public;
  18.  
  19. # Add index.php to the list if you are using PHP
  20. index index.php index.html index.htm index.nginx-debian.html;
  21.  
  22. server_name 159.65.91.237;
  23.  
  24. location / {
  25. # First attempt to serve request as file, then
  26. # as directory, then fall back to displaying a 404.
  27. try_files $uri $uri/ /index.php?$query_string;
  28. }
  29.  
  30. # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  31. #
  32. location ~ .php$ {
  33. include snippets/fastcgi-php.conf;
  34. #
  35. # # With php7.0-cgi alone:
  36. # fastcgi_pass 127.0.0.1:9000;
  37. # # With php7.0-fpm:
  38. fastcgi_pass unix:/run/php/php7.2-fpm.sock;
Add Comment
Please, Sign In to add comment