Reroute /api route to the back-end

master
Raymonzut 5 years ago
parent cf1ef4257c
commit a910feda62
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 5
      client/nginx.conf

@ -26,6 +26,11 @@ http {
alias /app/assets/styling;
}
location /api {
proxy_pass https://raymon.dev/api;
proxy_buffering on;
}
error_page 404 /404.html;
location = /404.html {
root /app/error;

Loading…
Cancel
Save