Skip to content

Commit

Permalink
[#develop] hotfix: add nginx redirect conf.
Browse files Browse the repository at this point in the history
  • Loading branch information
myeongjae-kim committed Aug 10, 2020
1 parent 3c9207b commit f11e79e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ http {
location /admin {
# https://stackoverflow.com/a/38026037
if (!-e $request_filename){
rewrite ^/admin /index.html break;
rewrite ^/admin/(.*) /$1/index.html break;
}
}
Expand Down

0 comments on commit f11e79e

Please sign in to comment.