![Enable a2enmod centos](https://kumkoniak.com/58.jpg)
Location = /favicon.ico įastcgi_pass unix:/run/php/php8.1-fpm. Open the Apache main configuration file by. Next step is to edit the Apache main configuration file. Related: How to manage Apache service Check if module is now enabled. Restart Apache service for the modules to be loaded. you can enable the filecache module with the following command: a2enmod filecache. To activate the new configuration, you need to run: systemctl restart apache2 CentOS, Fedora and Red Hat distributions will automatically load the module so no further action is required. # Replace the example with your domain name or IP address We will show you how to configure and enable the filecache module in CentOS 7 and Ubuntu 16.04. Try_files $uri $uri/ /index.php?$query_string įastcgi_split_path_info ^(. \.php)(/. )$ įastcgi_pass unix:/run/php/ įastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M" įastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name # add_header Strict-Transport-Security "max-age=15768000 preload " Īdd_header X-Content-Type-Options nosniff Īdd_header X-XSS-Protection "1 mode=block" Īdd_header Content-Security-Policy "frame-ancestors 'self'" # See before uncommenting the line below. Ssl_certificate_key /etc/letsencrypt/live//privkey.pem
![enable a2enmod centos enable a2enmod centos](https://benisnous.com/wp-content/uploads/2021/05/How-to-enable-EPEL-repository-on-RHEL-8-CentOS-8.jpg)
Ssl_certificate /etc/letsencrypt/live//fullchain.pem # SSL Configuration - Replace the example with your domain # allow larger file uploads and longer script runtimes
![enable a2enmod centos enable a2enmod centos](https://3.bp.blogspot.com/-It4JqqKQ2LE/VuqJoubBLLI/AAAAAAAAAl8/3cQlIzYr7jMLjvMW8kZO94mqmmFKzc5FQ/s640/4.png)
![enable a2enmod centos enable a2enmod centos](https://www.cyberciti.biz/media/new/faq/2008/08/centos7-epel-repo-output.jpg)
Access_log /var/log/nginx/ Įrror_log /var/log/nginx/ error
![Enable a2enmod centos](https://kumkoniak.com/58.jpg)