Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

301 Moved Permanently error setting nginx

Hello,
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):
with text
File <b>/var/www/votes.com/index.php </b> index
<?php 
echo ‘Hello all!’;

Code (markup):
2) create /etc/nginx/sites-available/votes.com
sudo nano /etc/nginx/sites-available/votes.com 
with content :
upstream votes-backend { # Lets you define a group of servers
   server...
Code (markup):
301 Moved Permanently error setting nginx

from Nginx https://ift.tt/2u5ttxS
via IFTTT

Post a Comment

0 Comments