Using index.html now
This commit is contained in:
@@ -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$ {
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user