nginx.conf 288 B

123456789101112131415
  1. server {
  2. listen 8080;
  3. server_name _;
  4. index index.html index.php;
  5. root /var/www/html;
  6. location / {
  7. try_files $uri $uri/ =404;
  8. }
  9. location ~ \.php$ {
  10. include snippets/fastcgi-php.conf;
  11. fastcgi_pass unix:/run/php/php8.1-fpm.sock;
  12. }
  13. }