Skip to content

Commit

Permalink
Fix issues with trailing slashes on example (#61)
Browse files Browse the repository at this point in the history
* Add rewrite rule for trailing slashes on the example server

* Try just disabling trailingSlash

* Fix root

* Remove useRedirect

* Try another nginx rule

* Use try_files
  • Loading branch information
rogermparent authored Aug 8, 2022
1 parent 2029dd3 commit 382bc35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ http {
server_name _;
keepalive_timeout 5;
client_max_body_size <%= ENV['NGINX_CLIENT_MAX_BODY_SIZE'] || 1 %>M;
try_files $uri/index.html $uri $uri/ @notfound;

root /app/packages/example/public;
}
Expand Down

0 comments on commit 382bc35

Please sign in to comment.