diff --git a/helpdesk.conf b/helpdesk.conf new file mode 100644 index 0000000..f62ef77 --- /dev/null +++ b/helpdesk.conf @@ -0,0 +1,17 @@ +server { + listen 8083; + server_name helpdesk.sottomaiormacedo.tech; + root /var/www/helpdesk.sottomaiormacedo.tech/helpdesk; + index index.php index.html; + + location / { + try_files $uri $uri/ /index.php$is_args$args; + } + + location ~ \.php$ { + include fastcgi_params; + fastcgi_pass unix:/run/php-fpm/www.sock; # Caminho padrĂ£o no AlmaLinux + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + } +} \ No newline at end of file