Using index.html now

This commit is contained in:
WilliamMiceli
2019-11-25 13:48:50 -05:00
parent a2e66af73c
commit bf13e08e76
2 changed files with 2 additions and 23 deletions

View File

@@ -3,14 +3,14 @@ server {
listen [::]:80;
root /var/www/;
index landingPage.html
index index.html
server_name _;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location / {
try_files $uri $uri/ /landingPage.html =404;
try_files $uri $uri/ /index.html =404;
}
location ~ \.php$ {

View File

@@ -1,21 +0,0 @@
<!DOCTYPE html>
<html>
<body>
<style>
body {
background-color: #3B5998;
}
</style>
<h2><font color="white">Friendbook</h2>
<button type="button" onclick="window.location.href = 'friends.html'">See Friends</button>
<button type="button" onclick="window.location.href = 'messages.html'">See Messages</button>
<button type="button" onclick="window.location.href = 'contacts.html'">See Contacts</button>
<button type="button" onclick="window.location.href = 'search.php'">Search</button>
<button type="button" onclick="window.location.href = 'sendMessage.php'">Message Someone</button>
<button type="button" onclick="window.location.href = 'findFriend.html'">Find a New Friend</button>
<button type="button" onclick="window.location.href = 'pendingFriend.html'">Check Pending Friends</button>
</body>
</html>