Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. server {
  2. listen 127.0.0.1:8080 default_server;
  3. listen [::]:8080 default_server;
  4. root /var/www/html/wordpress;
  5. index index.php index.html index.htm;
  6. server_name yourdomain.com www.yourdomain.com;
  7. location / {
  8. try_files $uri $uri/ /index.php?$args;
  9. }
  10. location ~ .php$ {
  11. fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  12. fastcgi_index index.php;
  13. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  14. fastcgi_param PATH_INFO $fastcgi_path_info;
  15. include fastcgi_params;
  16. }
  17. }
  18.  
  19. DAEMON_OPTS="-a :80
  20. -T localhost:6082
  21. -f /etc/varnish/default.vcl
  22. -S /etc/varnish/secret
  23. -s malloc,256m"
  24.  
  25. netstat -ntulp
  26.  
  27. sudo apt-get install -y net-tools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement