Skip to content

Commit

Permalink
Redirect all frontend requests to index.html.
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed Nov 17, 2023
1 parent 72f7525 commit 77c82e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ events {
http {
server {
listen 80;
server_name bbm.unsigned-short.com;
#server_name bbm.unsigned-short.com;

root /www;

location / {
include /etc/nginx/mime.types;
index /index.html;
try_files $uri $uri/ /index.html =404;
}
}
}

0 comments on commit 77c82e2

Please sign in to comment.