Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed May 13, 2015 3:13 am 
Offline
Newbie

Joined: Wed May 13, 2015 3:04 am
Posts: 2
I have the following code, which for some reason is creating a 403 error when I go to my domain:

/etc/nginx/sites-available/default

Code:
server {
        listen 80;
        root /home/site;
        index landing.html;
        server_name site.com www.site.com;

        location / {
                try_files $uri $uri/ /landing.html;
                index landing.html;
        }
}


What could be creating this problem? I'm new to this, so please be easy on me. Also note that I replaced the actual domain with site.com for this post


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group