Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt install apache2 libapache2-mod-fcgid
- sudo apt install python-software-properties
- sudo add-apt-repository ppa:ondrej/php
- server {
- listen 8360;
- listen [::]:8360;
- root /var/www/depildiodo/;
- index index.php index.html index.htm index.nginx-debian.html;
- server_name 82.223.98.245;
- error_page 404 /404.php;
- location /404.php {
- internal;
- }
- location ~* .(jpg|jpeg|png|gif|ico|svg)$ { expires 365d; } location ~* .(css|js|pdf)$ { expires 30d; }
- location ~ .php$ {
- include snippets/fastcgi-php.conf;
- fastcgi_pass unix:/run/php/php5.6-fpm.sock;
- }
- location ~ /.ht {
- deny all;
- }
- }
Add Comment
Please, Sign In to add comment