feat: serve frontend
This commit is contained in:
@@ -2,8 +2,11 @@ server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
root /var/www/maxun;
|
||||
index index.html;
|
||||
|
||||
# Serve the frontend
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user