location /pilkades { alias /var/www/html/pilkades; try_files $uri $uri/ @nested; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_pass unix:/run/php/php7.4-fpm.sock; } } location @pilkades { rewrite /pilkades/(.*)$ /pilkades/index.php?/$1 last; } atau: location /alias { alias /var/www/htmlalias; location ~ /([^/]+\.php)$ { try_files /$1 =404; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } }
Already checked credentials, already tried to connet to other Oracle server but the error still the same: 12546 ORA-12546: TNS:permission denied * The setting I was missing is: setsebool -P httpd_can_network_connect on