nginx.conf 367 B

1234567891011121314151617
  1. server {
  2. listen 8080;
  3. server_name ${OPEN_SEARCH_HOST_FOR_NGINX} localhost;
  4. root /var/www/html;
  5. index index.php;
  6. location / {
  7. try_files $uri $uri/ /index.php?$args;
  8. }
  9. location ~ \.php$ {
  10. fastcgi_pass unix:/run/php8/php-fpm8.sock;
  11. fastcgi_index index.php;
  12. include fastcgi.conf;
  13. }
  14. }