Browse Source

make sure location doesn't catch non-path things like js files

pull/1/head
Angelo DiNardi 3 years ago
parent
commit
65f6dfae3c
  1. 6
      config/nginx.conf.erb

6
config/nginx.conf.erb

@ -35,21 +35,21 @@ http { @@ -35,21 +35,21 @@ http {
server_name _;
keepalive_timeout 5;
location /data {
location /data/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://app_server;
}
location /submit {
location /submit/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://app_server;
}
location /proof {
location /proof/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;

Loading…
Cancel
Save