feat(nginx): Fixed going to / not working
This commit is contained in:
parent
c898fe8d32
commit
2ad9fe9859
2 changed files with 8 additions and 2 deletions
|
|
@ -25,9 +25,11 @@
|
|||
class="fixed top-14 left-0 w-64 h-full bg-gray-900 text-white transform -translate-x-full transition-transform duration-300 ease-in-out z-40">
|
||||
<nav class="flex flex-col p-4 space-y-3">
|
||||
<a href="/" class="hover:bg-gray-700 rounded-md px-3 py-2">🏠 Home</a>
|
||||
<a href="/login" class="hover:bg-gray-700 rounded-md px-3 py-2">👤 Login</a>
|
||||
<a href="/signin" class="hover:bg-gray-700 rounded-md px-3 py-2">👤 Signin</a>
|
||||
<a href="/chat" class="hover:bg-gray-700 rounded-md px-3 py-2">👤 Chat</a>
|
||||
<a href="/contact" class="hover:bg-gray-700 rounded-md px-3 py-2">⚙️ Settings</a>
|
||||
<a href="/404" class="hover:bg-gray-700 rounded-md px-3 py-2">🚪 Logout</a>
|
||||
<a href="/logout" class="hover:bg-gray-700 rounded-md px-3 py-2">🚪 Logout</a>
|
||||
</nav>
|
||||
</aside>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,3 +6,7 @@ location /app {
|
|||
location /assets {
|
||||
root /volumes/static/app/;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$http_host/app;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue