Skip to content

Commit

Permalink
Merge pull request #4 from onecx/feat/add-q-location
Browse files Browse the repository at this point in the history
feat: add q location
  • Loading branch information
andrejpetras authored Dec 20, 2024
2 parents 479481f + c8035d3 commit df2bd09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions locations/base.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
location ~ @@APP_BASE_HREF[^/]+/q {
deny all;
return 404;
}

location @@APP_BASE_HREF {
# try_files $uri $uri/$is_args$args =404;
alias /usr/share/nginx/html/;
Expand Down

0 comments on commit df2bd09

Please sign in to comment.