Guest User

Untitled

a guest
May 2nd, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. upstream fastcgi_backend {
  2. server unix:/run/php/php7.3-fpm.sock;
  3. }
  4.  
  5. server {
  6. listen 8080;
  7. listen [::]:8080;
  8.  
  9. # SSL configuration
  10. #
  11. # listen 443 ssl default_server;
  12. # listen [::]:443 ssl default_server;
  13. #
  14. # Note: You should disable gzip for SSL traffic.
  15. # See: https://bugs.debian.org/773332
  16. #
  17. # Read up on ssl_ciphers to ensure a secure configuration.
  18. # See: https://bugs.debian.org/765782
  19. #
  20. # Self signed certs generated by the ssl-cert package
  21. # Don't use them in a production server!
  22. #
  23. # include snippets/snakeoil.conf;
  24.  
  25.  
  26. # Add index.php to the list if you are using PHP
  27.  
  28. server_name www.sacaddict.fr sacaddict.fr;
  29. set $MAGE_ROOT /var/www/sacaddict/html/;
  30. include /var/www/sacaddict/html/nginx.conf.sample;
  31. # pass PHP scripts to FastCGI server
  32. index index.html index.htm index.nginx-debian.html index.php;
  33. #
  34.  
  35. # deny access to .htaccess files, if Apache's document root
  36. # concurs with nginx's one
  37. #
  38. #location ~ /\.ht {
  39. # deny all;
  40. #}
  41. }
Add Comment
Please, Sign In to add comment