Sleeping a night probably helped a bit.. I think I found the solution...my mistake was using parts of the configuration blocks from archlinux.org-nginx-wiki (the include php.conf-line with the php.conf-file). So I removed those and added instead these lines to the server block: # for php outside admin-folder location ~ \.php$ { fastcgi_pass unix:/run/php-fpm/php-fpm.sock;by grymsten - How to...
Hi, I'm trying to secure GetSimple CMS, but I'm not able to disallow the download of files in the /admin/ folder, when using tools like curl or wget. --------------------------- The server runs archlinux with php-fpm. server configuration block in nginx.conf: server { index index.php index.html index.htm; server_name example.com; listen 80;by grymsten - How to...
![]() |
![]() |
![]() |
![]() |
|