Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 127.0.0.1:8080 default_server;
- listen [::]:8080 default_server;
- root /var/www/html/wordpress;
- index index.php index.html index.htm;
- server_name yourdomain.com www.yourdomain.com;
- location / {
- try_files $uri $uri/ /index.php?$args;
- }
- location ~ .php$ {
- fastcgi_pass unix:/run/php/php7.0-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- include fastcgi_params;
- }
- }
- DAEMON_OPTS="-a :80
- -T localhost:6082
- -f /etc/varnish/default.vcl
- -S /etc/varnish/secret
- -s malloc,256m"
- netstat -ntulp
- sudo apt-get install -y net-tools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement