Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream fastcgi_backend {
- server unix:/run/php/php7.3-fpm.sock;
- }
- server {
- listen 8080;
- listen [::]:8080;
- # SSL configuration
- #
- # listen 443 ssl default_server;
- # listen [::]:443 ssl default_server;
- #
- # Note: You should disable gzip for SSL traffic.
- # See: https://bugs.debian.org/773332
- #
- # Read up on ssl_ciphers to ensure a secure configuration.
- # See: https://bugs.debian.org/765782
- #
- # Self signed certs generated by the ssl-cert package
- # Don't use them in a production server!
- #
- # include snippets/snakeoil.conf;
- # Add index.php to the list if you are using PHP
- server_name www.sacaddict.fr sacaddict.fr;
- set $MAGE_ROOT /var/www/sacaddict/html/;
- include /var/www/sacaddict/html/nginx.conf.sample;
- # pass PHP scripts to FastCGI server
- index index.html index.htm index.nginx-debian.html index.php;
- #
- # deny access to .htaccess files, if Apache's document root
- # concurs with nginx's one
- #
- #location ~ /\.ht {
- # deny all;
- #}
- }
Add Comment
Please, Sign In to add comment