Nginx proxy pass the root url

main
Nikita Tokarchuk 2 years ago
parent d87b96e62e
commit 760bcf6c94
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 4
      nginx/nginx.conf

@ -38,6 +38,10 @@ http {
try_files $uri $uri/ @frontend;
}
location = / {
proxy_pass http://frontend;
}
location @frontend {
proxy_pass http://frontend;
}

Loading…
Cancel
Save