I try to setup Multiple Domains in nginx under ubuntu 18
with next steps :
1) Create app directory
mkdir /var/www/votes.com
cd /var/www/votes.com
sudo nano /var/www/votes.com/index.php
Code (markup):
File <b>/var/www/votes.com/index.php </b> index
<?php
echo ‘Hello all!’;
Code (markup):
sudo nano /etc/nginx/sites-available/votes.com
with content :
upstream votes-backend { # Lets you define a group of servers
server...
Code (markup):
from Nginx https://ift.tt/2u5ttxS
via IFTTT
0 Comments