Advertisement
ABSCAM

FPM + NGINX

Sep 2nd, 2021
1,109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.36 KB | None | 0 0
  1. server {
  2.         listen 80;
  3.         root /var/www/html;
  4.         index index.php index.html index.htm;
  5.         server_name example.com;
  6.  
  7.         location / {
  8.             try_files $uri $uri/ =404;
  9.         }
  10.  
  11.         location ~ \.php$ {
  12.             include snippets/fastcgi-php.conf;
  13.             fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
  14.         }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement