Tarantool nginx upstream module
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nginx.vh.default.conf 368B

1234567891011121314151617181920
  1. upstream backend {
  2. # Tarantool hosts
  3. server 127.0.0.1:9999;
  4. }
  5. server {
  6. listen 80;
  7. server_name localhost;
  8. location /tnt_rest {
  9. # REST mode on
  10. tnt_http_rest_methods get post put delete; # or all
  11. # Pass http headers and uri
  12. tnt_pass_http_request on;
  13. # Module on
  14. tnt_pass backend;
  15. }
  16. }