Go to Serve Directory Configure –
1 2 3 |
cd /etc/nginx/sites-available sudo nano local.wp.com |
Then Edit it and will show all Directory in That Virtual Host Server –
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
server { listen 80; listen [::]:80; root /var/www/html/wp; index index.php index.html index.htm; server_name local.wp.com www.local.wp.com; location / { autoindex on; try_files $uri $uri/ /index.php$is_args$args; } #location ~ \.php$ { # fastcgi_split_path_info ^(.+\.php)(/.+)$; # fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; # fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # include fastcgi_params; # autoindex on; #} } |
I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.